-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update & refactor precompiles #1100
Conversation
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 partial review, I've stopped at XCM. Will continue tomorrow.
public: H256, | ||
signature: BoundedBytes<SR25519SignatureBytes>, | ||
message: UnboundedBytes, | ||
) -> EvmResult<bool> { |
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.
Is there any cost associated to this call?
It's not a question related to your PR, but a general one.
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.
There would be, a minor one for the signature verification.
It needs to be benchmarked like many other precompiles method that we have TODOs for
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 meant the cost that we charge the caller, but you answered my question regardless 🙂
We should make an item to address this.
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.
Checked the delta only, single comment regarding the ranges.
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
Minimum allowed line rate is |
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
Pull Request Summary
Update precompiles to use new precompiles utils
Precompiles to Update
assets-erc20
dppstaking
ecdsa
sr25519
xvm
xcm/xtokens
unified-accounts
(merge upstream first)Runtimes to update
TODOs