ChainSafe / ChainSafe/ethermint-scripts

Modifying contract to add in data fields and indexes

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Adding in data fields and indexes to contract.sol

The contract has been changed to:

pragma solidity ^0.6.1;

contract Logger {

event event1(uint256 count);
event event2(address indexed owner);

function emitTest(bool _name) public {
if (_name) {
emit event1(256);
} else {
emit event2(msg.sender);
}
}
}
```

This should provide additional event data to test different use cases with.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.