Skip to content

Commit

Permalink
Merge branch 'master' into mining_decoupling
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Mar 2, 2021
2 parents 55b6586 + 87f6c1a commit fc2c2fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public Optional<Long> getCumulativeGasUsed(final DataFetchingEnvironment environ
public Optional<AccountAdapter> getCreatedContract(final DataFetchingEnvironment environment) {
final boolean contractCreated = transactionWithMetadata.getTransaction().isContractCreation();
if (contractCreated) {
final Optional<Address> addr = transactionWithMetadata.getTransaction().getTo();
final Optional<Address> addr = transactionWithMetadata.getTransaction().contractAddress();

if (addr.isPresent()) {
final BlockchainQueries query = getBlockchainQueries(environment);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
},
"hash" : "0x812742182a79a8e67733edc58cfa3767aa2d7ad06439d156ddbbb33e3403b4ed",
"createdContract" : null,
"createdContract" : {
"address":"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f"
},
"cumulativeGasUsed" : 493172,
"gas" : 3141592,
"gasUsed" : 493172,
Expand Down

0 comments on commit fc2c2fd

Please sign in to comment.