-
Notifications
You must be signed in to change notification settings - Fork 39
Upgrade to v0.5.1 contracts #988
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
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
1943044 to
2d18ac8
Compare
mkysel
left a comment
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. Let me know when its ready
Sure, this is blocked until MinutesSinceEpoch is stored onchain as part of the PayerReport struct. |
94d5b4b to
903d30a
Compare
Upgrade contract bindings to v0.5.1 and change group ID size from 32 bytes to 16 bytes across blockchain publisher interfaces
Updates contract bindings to v0.5.1 with changes to parameter key return types from byte arrays to strings across multiple contracts, reduces group ID size from 32 bytes to 16 bytes in blockchain publisher interfaces, and adds new functionality for payload bootstrapping and underlying token operations:
[]bytetostringin IdentityUpdateBroadcaster.go, PayerRegistry.go, SettlementChainParameterRegistry.go, NodeRegistry.go, and RateRegistry.go[32]byteto[16]byteinPublishGroupMessagemethod across blockchainPublisher.go, interface.go, and related test filesBootstrapIdentityUpdates,PayloadBootstrapper, andUpdatePayloadBootstrapperto IdentityUpdateBroadcaster.goDepositFromUnderlying,DepositFromUnderlyingWithPermit, andFinalizeWithdrawalIntoUnderlyingto PayerRegistry.goendMinuteSinceEpochparameter to payer report structure in report.go and updates related functions📍Where to Start
Start with the
PublishGroupMessagemethod in blockchainPublisher.go to understand the core change from 32-byte to 16-byte group IDs, then review the contract binding changes in IdentityUpdateBroadcaster.go to see the parameter key type changes and new functionality.Macroscope summarized 903d30a.