Skip to content
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

[BOOST-4692] Support chainId in EventAction #83

Merged
merged 3 commits into from
Sep 20, 2024
Merged

Conversation

topocount
Copy link
Contributor

@topocount topocount commented Sep 13, 2024

resolves BOOST-4706: Add chainId to event action parameters
resolves BOOST-4707: support chainid in EventAction

chainId is needed to disambiguate the location of the address

@topocount topocount requested a review from Quazia September 13, 2024 20:40
@topocount topocount requested a review from a team as a code owner September 13, 2024 20:40
@topocount topocount requested a review from sammccord September 13, 2024 20:40
@topocount topocount force-pushed the eventaction-chainid branch 3 times, most recently from 718ea2a to f4d1e30 Compare September 13, 2024 21:12
@topocount
Copy link
Contributor Author

@Quazia should we configure a new default branch for this repo now that we're mid-audit?

Copy link
Contributor

@sammccord sammccord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super minor nit

packages/sdk/src/utils.ts Outdated Show resolved Hide resolved
@topocount topocount requested a review from sammccord September 16, 2024 17:49
@topocount topocount force-pushed the eventaction-chainid branch 3 times, most recently from 273ead6 to 832c1b2 Compare September 16, 2024 20:16
Copy link
Contributor

@sammccord sammccord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@sammccord
Copy link
Contributor

Copy link
Contributor

github-actions bot commented Sep 18, 2024

Fails
🚫 Please add some non-placeholder details to the PR description.
Warnings
⚠️

Are you sure you want to be submitting a change without including a changeset? Please see the publishing section of the README

Generated by 🚫 dangerJS against cd3c2ff

@topocount topocount marked this pull request as draft September 18, 2024 20:11
While most of this validation occurs offchain, it is important to
uniquely identify the smart contract we're watching
@topocount
Copy link
Contributor Author

@sammccord I'm waiting for the audit to "finish" to start pushing changes

The chainid typing is a bit dicey. it's a uint256 but treated as a
number by viem, so I have upgrade and downgrade conversion functions
implemented to help with this
@topocount topocount marked this pull request as ready for review September 20, 2024 15:55
@topocount topocount merged commit 1c095e2 into main Sep 20, 2024
5 of 8 checks passed
@topocount topocount deleted the eventaction-chainid branch September 20, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants