-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: its-v1.1.0
Are you sure you want to change the base?
Conversation
k4m4
commented
Mar 5, 2025
- Dummy PR to be used for the Axelar team's review.
…Set serialization
…next_verifier_set
…ay is controlled by multisig prover
…ale_weights is needed
…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)?; |
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.
this seems a little gas intensive to load all of these tickets from storage every time
} | ||
} | ||
|
||
impl DustAmount { |
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.
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
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.
…ain to enable retries
7e3ab9a
to
d20d974
Compare
…proof construction, & admin rotation
…y_signature, & proof queries