integration test: get block, tx, receipt, filter logs, code at
This commit is contained in:
1 parent
141b3eaffe
commit
3c57fa1064
14 files changed
+879
-80
No files matched your search
@@ -20,6 +20,10 @@ async function main() {
|
||||
await greeter.deployed();
|
||||
|
||||
console.log("Greeter deployed to:", greeter.address, "; tx hash: ", greeter.deployTransaction.hash);
|
||||
|
||||
const result = await greeter.setGreeting("Hello 123!");
|
||||
|
||||
console.log("Greeter updated", "; tx hash: ", result.hash, "; block hash: ", result.blockHash);
|
||||
}
|
||||
|
||||
// We recommend this pattern to be able to use async/await everywhere
|
||||
|
||||
Reference in new issue
Block a user