Web3Swift icon indicating copy to clipboard operation
Web3Swift copied to clipboard

Missing comparison operators for BytesScalar

Open rockfridrich opened this issue 6 years ago • 2 comments

If we want to compare two EthNumbers, we need to make a ton of operation to convert them into other types.

rockfridrich avatar Apr 17 '19 04:04 rockfridrich

You can add equality operator to ArithmeticFunctions by utilizing UnsignedNumbersEquality (which should probably be renamed to NumbersEquality)

abdulowork avatar Apr 17 '19 08:04 abdulowork

We should make it work with comparison operators to make tests work.

beGreaterThan(EthNumber(1))

rockfridrich avatar Apr 17 '19 09:04 rockfridrich