Skip to content

chore: log contract errors properly in keeper#68

Merged
mfontanini merged 1 commit into
mainfrom
chore/keeper-errors
Feb 3, 2026
Merged

chore: log contract errors properly in keeper#68
mfontanini merged 1 commit into
mainfrom
chore/keeper-errors

Conversation

@mfontanini
Copy link
Copy Markdown
Contributor

This uses TransactionSubmitter in the keeper to avoid dealing with revert errors. This also changes the with_gas_limit function in the submitter with a with_gas_buffer so we don't have to manually call overestimate_gas everywhere since we always set the same extra amount of gas.

#[sol(rpc)]
#[derive(Debug)]
contract HearbeatManager {
contract HeartbeatManager {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This slipped through real good

Copy link
Copy Markdown
Contributor

@jimouris jimouris left a comment

Choose a reason for hiding this comment

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

Great catch!

@mfontanini mfontanini merged commit f48ee29 into main Feb 3, 2026
1 check passed
@mfontanini mfontanini deleted the chore/keeper-errors branch February 3, 2026 17:34
Copy link
Copy Markdown
Member

@jcabrero jcabrero left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants