integration test: get block, tx, receipt, filter logs, code at

This commit is contained in:
ramil committed 2021-04-19 11:32:36 +03:00
1 parent 141b3eaffe
commit 3c57fa1064
14 files changed
+879 -80

No files matched your search

+4
View File
@@ -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