@@ -216,19 +216,19 @@ module.exports = {
216216 . execute ( ( ) => {
217217 ( document . querySelector ( '*[data-id="basic-http-providerModalDialogContainer-react"] input[data-id="modalDialogCustomPromp"]' ) as any ) . focus ( )
218218 } , [ ] , ( ) => { } )
219- . setValue ( '[data-id="modalDialogCustomPromp"]' , 'https://remix-goerli.ethdevops .io' )
219+ . setValue ( '[data-id="modalDialogCustomPromp"]' , 'https://go.getblock .io/ee42d0a88f314707be11dd799b122cb9 ' )
220220 . modalFooterOKClick ( 'basic-http-provider' )
221221 . clickLaunchIcon ( 'filePanel' )
222222 . openFile ( 'README.txt' )
223223 . addFile ( 'scripts/log_tx_block.js' , { content : scriptBlockAndTransaction } )
224224 . pause ( 1000 )
225225 . executeScriptInTerminal ( 'remix.execute(\'scripts/log_tx_block.js\')' )
226226 // check if the input of the transaction is being logged (web3 call)
227- . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0x775526410000000000000000000000000000000000000000000000000000000000000060464c0335b2f1609abd9de25141c0a3b49db516fc7375970dc737c32b986e88e3000000000000000000000000000000000000000000000000000000000000039e000000000000000000000000000000000000000000000000000000000000000602926b30b10e7a514d92bc71e085f5bff2687fac2856ae43ef7621bf1756fa370516d310bec5727543089be9a4d5f68471174ee528e95a2520b0ca36c2b6c6eb0000000000000000000000000000000000000000000000000000000000046f49036f5e4ea4dd042801c8841e3db8e654124305da0f11824fc1db60c405dbb39f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' , 120000 )
227+ . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0x2b0006fa00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e9e0000000000000000000000000000000000000000000000000000000000004ea373ded44d6900b8b479935bee9c82176261653e334586e0fd282f569357c0777bd9d084474837ac94bf96f2e26590222a2b8e46545657c7cf06ce2833d267bd6f131b5b3fd36cb1ca3e07cf422224df0766d1a677bbdb7ee4cc0d634efa5367a302a94dac422a16b9b8d5c10fe0555924f8189f6b498bef507b1d32e7915bd4df184f51e6d79ae6a1b11d5745ce7d625cecc3bd0dc50af4f999ffb927225f5e5c019b499f5e1fdcbc70c45df61df76013d1b0d45cdf6a267dac1b4620c0db2efd251f6548509c9c69f5bd9d1ee38ac0df0c73be2774f7d2e1fb7ef5129010f29d091e3c48aed0f035fc29804c99927d33ff2a19ff526979355ac50b2542bc5d8f2d41e4f850d5981e0420807469e828b03173b96b757fbaeacda335e11b3ab8b02a48456fab35d41ca26abde751d5fca8ef5e7ba5295278b6e46ce2aab6c10b3d185a6137d3e5c28bb8dd3a797feaf35520fcb949ea074e1869e0011ef01f8162135e44bb797d3d6215ff74ffbee972c97264fc15d11c840e6a7e796dc1a418572f6dbcc842594a558e1a9e3cb7a159284e16fec758bbc303d13edc28fb6d8bb110c3a398e4ded1748da9854eb84679ad0c99bc59bea7956b521db3ed0a9057510cc11365858704989690f0d891af81b213b1f2e91e41e4998a467656eac87e7025ac2840c17f2b106df7d32a0139036bdf5d87344ca37e9ce770e0dbeb5e021d03a7d496a6695eb06d3de9258b43f3883ce155767962b52083504b19d6d609090a2f96e9724902bf1adbf57359ac1dda48a8ffe596b8d95cac1429378769a6ec2ff1c8a9c0bc343b0a6468f36696bfb202cde9f6cd5241b814096d777751b44f0cc2ac9e7ba142227e8d5f2dd8da62573953540da1abce82c59287b2f7a87a111851758c2505d8c1ded6c42a49fc5577451ee56126d2275da490baa645c3bcac0c31dabee7aa35e6cdffb56ac0d952c2583c6f50f906dfb96f5a98c49a5919031cff880bffbe371a50162a7bd0fa0398a5898eaf6ad6db868a7d807846a3592325bb4207d67ad96bac76435368962ba8944d0201c2f620fb29373a6f35c815d101af98111e9b4cc61e8ae77fc63ce375068328ec8d05b49486666fb0f756f99d2fe747c95b2a553965f304a324879393897315d310841f0a200cd156f6ca4ed2' , 120000 )
228228 // check if the logsBloom is being logged (web3 call)
229- . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0x00000000000000000000000000100000000000000000020000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000040000000060000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000100000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000001 ' , 120000 )
229+ . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0x0fbbd94c448fe6949f848380a1d145a974f386624b4b10aa40f9afb212b3ddeb ' , 120000 ) // hash of 4757766
230230 // check if the logsBloom is being logged (ethers.js call)
231- . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '"hex":"0x025cd8" ' , 120000 )
231+ . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0x9db899cb75888a630ba50a1644c243b83d2eb38525eb828a06a5e8bb5663c0b0 ' , 120000 ) // hash of 4757767
232232 } ,
233233
234234 'Should listen on all transactions #group8' : function ( browser : NightwatchBrowser ) {
@@ -817,10 +817,10 @@ const scriptBlockAndTransaction = `
817817// Right click on the script name and hit "Run" to execute
818818(async () => {
819819 try {
820- web3.eth.getTransaction('0x022ccd55747677ac50f8d9dfd1bf5b843fa2f36438a28c1d0a0958e057bb3e2a ').then(console.log)
821- web3.eth.getBlock(7367447 ).then(console.log);
822- let ethersProvider = new ethers.providers.Web3Provider(web3Provider)
823- ethersProvider.getBlock(7367447 ).then(console.log)
820+ web3.eth.getTransaction('0x0d2baaed96425861677e87dcf6961d34e2b73ad9a0929c32a05607ca94f98d17 ').then(console.log).catch(console.error )
821+ web3.eth.getBlock(4757766 ).then(console.log).catch(console.error)
822+ let ethersProvider = new ethers.providers.Web3Provider(web3Provider)
823+ ethersProvider.getBlock(4757767 ).then(console.log).catch(console.error )
824824 } catch (e) {
825825 console.log(e.message)
826826 }
0 commit comments