rust-ethereum / ethabi

Encode and decode smart contract invocations
Apache License 2.0
517 stars 186 forks source link

Change Token::Int associated data from Uint to Int #210

Closed rhinodavid closed 3 years ago

rhinodavid commented 3 years ago

Both Uint and Int are aliased to ethereum_types::U256, but semantically it seems like the associated data for Token::Int should be an Int.

nlordell commented 3 years ago

Note that

pub type Int = ethereum_types::U256;

This change is definitely correct though.