Skip to content

Saturn2 exit fee - #1236

Merged
0xfornax merged 3 commits into
masterfrom
saturn2-exit-fee
Sep 25, 2026
Merged

0xfornax merged 3 commits into
masterfrom
saturn2-exit-fee

Conversation

@0xfornax

Copy link
Copy Markdown
Member
  • Fetches the EIP-7002 exit fee and sets opts.Value.
  • Uses the network settings contract and correct setting paths, with durations read and proposed in seconds.
  • Extends event scans seven days beyond the cooperative phase to allow enforcement retries

@github-actions

Copy link
Copy Markdown

Coverage Report

@github-actions

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/rocket-pool/smartnode/bindings/network 0.00% (ø)
github.com/rocket-pool/smartnode/bindings/settings/protocol 0.22% (+0.00%) 👍
github.com/rocket-pool/smartnode/rocketpool-cli/cli 0.17% (-0.00%) 👎
github.com/rocket-pool/smartnode/rocketpool-cli/pdao 0.08% (ø)
github.com/rocket-pool/smartnode/rocketpool/api/pdao 0.10% (+0.00%) 👍
github.com/rocket-pool/smartnode/rocketpool/node 0.34% (-0.00%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/rocket-pool/smartnode/bindings/network/exit.go 0.00% (ø) 3461 (+135) 0 3461 (+135)
github.com/rocket-pool/smartnode/bindings/settings/protocol/exit.go 0.00% (ø) 533 (-47) 0 533 (-47)
github.com/rocket-pool/smartnode/bindings/settings/protocol/setting-types.go 10.73% (ø) 317 34 283
github.com/rocket-pool/smartnode/rocketpool-cli/cli/saturn2-check.go 0.00% (ø) 422 (+90) 0 422 (+90)
github.com/rocket-pool/smartnode/rocketpool-cli/pdao/commands.go 0.00% (ø) 17792 0 17792
github.com/rocket-pool/smartnode/rocketpool-cli/pdao/propose-settings.go 0.00% (ø) 6164 0 6164
github.com/rocket-pool/smartnode/rocketpool/api/pdao/propose-settings.go 0.00% (ø) 34206 (-44) 0 34206 (-44)
github.com/rocket-pool/smartnode/rocketpool/node/check-megapool-exit-requests.go 0.00% (ø) 6416 (+234) 0 6416 (+234)
github.com/rocket-pool/smartnode/rocketpool/node/check-minipool-exit-requests.go 0.00% (ø) 6910 (+234) 0 6910 (+234)
github.com/rocket-pool/smartnode/rocketpool/node/node.go 0.00% (ø) 9677 0 9677

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@0xfornax
0xfornax merged commit def72c6 into master Sep 25, 2026
6 checks passed
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.

1 participant