-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
…nto feature/precompile_erc_721
…721_transfer_from
… refactor/use_generic_accountid
… refactor/use_generic_accountid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great in general
assert_ne!(asset1, asset2); | ||
|
||
// check asset in decimal format | ||
assert_eq!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is necessary. it tests the functionality of U256
which is outside of our crate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave because it is useful when you test through remix as you need number in decimal format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not addressed from last review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not addressed from last review
I suggest to leave this assert because it's useful when testing remix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm now
The main purpose of this task is to replace the specific type H160, previously used in the pallet to store asset ownership addresses. To achieve this, two traits have been introduced into the runtime: