Skip to content

Add new HN logic for RP revert agent#718

Open
zekraken-bot wants to merge 1 commit into
mainfrom
update-HN-rp-revert-logic
Open

Add new HN logic for RP revert agent#718
zekraken-bot wants to merge 1 commit into
mainfrom
update-HN-rp-revert-logic

Conversation

@zekraken-bot
Copy link
Copy Markdown
Collaborator

this will add the "persist over 100 blocks" logic to new revert agents for new rate providers.

@zekraken-bot zekraken-bot requested a review from Xeonus May 15, 2026 15:56
// Tracks consecutive revert count in the account-wide KV store so that the
// alert only fires after 100 consecutive reverts.
private static buildRevertPythonSource(kvKey: string): string {
return `def my_function(extracted_variables):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Only way to do it via this weird template injection? No other more elegant way possible?

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