@@ -971,46 +971,6 @@ describe('@api-batch-2 RPC Server Acceptance Tests', function () {
971971 expect ( storageValBeforeChange ) . to . eq ( beginStorageVal ) ;
972972 } ) ;
973973
974- it ( 'should execute "eth_getStorageAt" request to get current state changes without passing block' , async function ( ) {
975- const BEGIN_EXPECTED_STORAGE_VAL = '0x000000000000000000000000000000000000000000000000000000000000000f' ;
976- const END_EXPECTED_STORAGE_VAL = '0x0000000000000000000000000000000000000000000000000000000000000008' ;
977-
978- const beginStorageVal = await relay . call (
979- RelayCalls . ETH_ENDPOINTS . ETH_GET_STORAGE_AT ,
980- [ storageContractAddress , '0x0000000000000000000000000000000000000000000000000000000000000000' ] ,
981- requestId ,
982- ) ;
983- expect ( beginStorageVal ) . to . eq ( BEGIN_EXPECTED_STORAGE_VAL ) ;
984-
985- const gasPrice = await relay . gasPrice ( requestId ) ;
986- const transaction = {
987- value : 0 ,
988- gasLimit : 50000 ,
989- chainId : Number ( CHAIN_ID ) ,
990- to : storageContractAddress ,
991- nonce : await relay . getAccountNonce ( accounts [ 1 ] . address ) ,
992- gasPrice : gasPrice ,
993- data : STORAGE_CONTRACT_UPDATE ,
994- maxPriorityFeePerGas : gasPrice ,
995- maxFeePerGas : gasPrice ,
996- type : 2 ,
997- } ;
998-
999- const signedTx = await accounts [ 1 ] . wallet . signTransaction ( transaction ) ;
1000- const transactionHash = await relay . sendRawTransaction ( signedTx , requestId ) ;
1001- await relay . pollForValidTransactionReceipt ( transactionHash ) ;
1002-
1003- // wait for the transaction to propogate to mirror node
1004- await new Promise ( ( r ) => setTimeout ( r , 4000 ) ) ;
1005-
1006- const storageVal = await relay . call (
1007- RelayCalls . ETH_ENDPOINTS . ETH_GET_STORAGE_AT ,
1008- [ storageContractAddress , '0x0000000000000000000000000000000000000000000000000000000000000000' ] ,
1009- requestId ,
1010- ) ;
1011- expect ( storageVal ) . to . eq ( END_EXPECTED_STORAGE_VAL ) ;
1012- } ) ;
1013-
1014974 it ( 'should execute "eth_getStorageAt" request to get current state changes with passing specific block' , async function ( ) {
1015975 const EXPECTED_STORAGE_VAL = '0x0000000000000000000000000000000000000000000000000000000000000008' ;
1016976
0 commit comments