Skip to content

feat: integrate XRPL #4

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

Draft
wants to merge 303 commits into
base: its-v1.1.0
Choose a base branch
from
Draft

feat: integrate XRPL #4

wants to merge 303 commits into from

Conversation

k4m4
Copy link
Member

@k4m4 k4m4 commented Mar 5, 2025

  • Dummy PR to be used for the Axelar team's review.

k4m4 and others added 24 commits December 27, 2024 13:51
…ultisig session ID for prover TX confirmation
style: run clippy & cargo fmt

fn next_ticket_number(storage: &dyn Storage) -> Result<u32, ContractError> {
let last_assigned_ticket_number = LAST_ASSIGNED_TICKET_NUMBER.load(storage)?;
let available_tickets = AVAILABLE_TICKETS.load(storage)?;
Copy link

@cjcobb23 cjcobb23 Mar 5, 2025

Choose a reason for hiding this comment

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

this seems a little gas intensive to load all of these tickets from storage every time

}
}

impl DustAmount {
Copy link

Choose a reason for hiding this comment

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

Wouldn't it be better to avoid the explicit panic! for some functions? It would be better to change this to return a proper Result with a specific error type like the other operations

Copy link
Member Author

Choose a reason for hiding this comment

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

@k4m4 k4m4 force-pushed the xrpl branch 2 times, most recently from 7e3ab9a to d20d974 Compare April 21, 2025 16:53
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.

5 participants