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

Add missing events and re-factor event location #615

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

chrismaree
Copy link
Member

@chrismaree chrismaree commented Sep 20, 2024

PR add an additional events and pulls events into a common defined location.

Signed-off-by: chrismaree <[email protected]>
Signed-off-by: chrismaree <[email protected]>
pub input_amount: u64,
pub output_amount: u64,
pub destination_chain_id: u64,
pub deposit_id: u64,
Copy link
Contributor

Choose a reason for hiding this comment

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

depositId is uint32 in EVM SpokePool, and we also use u32 in fills

Signed-off-by: chrismaree <[email protected]>
Signed-off-by: chrismaree <[email protected]>
@@ -7,7 +7,7 @@ pub struct State {
pub paused_fills: bool,
pub owner: Pubkey,
pub seed: u64, // Add a seed to the state to enable multiple deployments.
pub number_of_deposits: u64,
pub number_of_deposits: u32,
Copy link
Contributor

@Reinis-FRP Reinis-FRP Sep 23, 2024

Choose a reason for hiding this comment

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

also need u32 in initial_number_of_deposits in initialize both in lib and admin.

Signed-off-by: chrismaree <[email protected]>
Signed-off-by: chrismaree <[email protected]>
@chrismaree chrismaree merged commit 2d66aba into master Sep 23, 2024
9 checks passed
@chrismaree chrismaree deleted the chrismaree/clean-up branch September 23, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants