Describe the bug
The current implementation is
impl Keyer for Address {
fn key(&self) -> BytesKey {
self.to_bytes().into()
}
}
to match abi.IdAddrKey in Go code
The correct implementation should be
impl Keyer for Address {
fn key(&self) -> BytesKey {
self.payload_bytes()
}
}
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Run '....'
- See error
Log output
Log Output
Expected behaviour
Screenshots
Environment (please complete the following information):
- OS:
- Rust version(e.g.
rustc --version)
- Branch/commit
Other information and links