-
Notifications
You must be signed in to change notification settings - Fork 1
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
Added support for the new RelayedV3 #155
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
transaction: ITransaction, | ||
relayer_address: IAddress) -> Transaction: | ||
"""Relayer address must be in the same shard with sender address.""" | ||
if transaction.data.decode().startswith("relayed"): |
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.
Maybe let the protocol enforce this, without additional logic in the SDKs?
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.
Removed
receiver="erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u", | ||
gas_limit=1_000_000, | ||
chain_id=self.config.chain_id, | ||
data=b"getContractConfig", |
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.
For the sake of the example, test
or doSomething
instead of getContractConfig
(sounds like a readonly / query endpoint)?
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.
changed the data field
No description provided.