We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, publicKey field's static type and runtime type are different in the latest version of AccountKeyAdded and AccountKeyRemoved events.
publicKey
AccountKeyAdded
AccountKeyRemoved
For example, flow.AccountKeyAdded:
flow.AccountKeyAdded
[UInt8]
Struct
publicKey should have matching static type and runtime type.
The text was updated successfully, but these errors were encountered:
This is a duplicate of #1796.
In Stable Cadence, the deprecated key APIs got removed, so PublicKey should be the type of the event field.
PublicKey
Sorry, something went wrong.
@turbolent I see, thanks!
This issue and PR #2528 were opened because this is a blocker for CCF event encoding PR onflow/flow-go#4417. And the PR #2528 supports both APIs.
Should we support both APIs until Stable Cadence is released?
fxamacker
Successfully merging a pull request may close this issue.
Current Behavior
Currently,
publicKey
field's static type and runtime type are different in the latest version ofAccountKeyAdded
andAccountKeyRemoved
events.For example,
flow.AccountKeyAdded
:publicKey
field type[UInt8]
(static type).publicKey
field asStruct
(runtime type).Proposed Solution
publicKey
should have matching static type and runtime type.The text was updated successfully, but these errors were encountered: