Skip to content

Conversation

@bplatak
Copy link
Contributor

@bplatak bplatak commented Jul 9, 2025

Summary

Remove the fields argus config that no longer exist in EscalationPolicy

Rationale

The fields were removed in #2691 causing compilation errors in argus:

error[E0560]: struct `EscalationPolicy` has no field named `gas_limit_tolerance_pct`
   --> apps/argus/src/config.rs:162:13
    |
162 |             gas_limit_tolerance_pct: self.gas_limit_tolerance_pct,
    |             ^^^^^^^^^^^^^^^^^^^^^^^ `EscalationPolicy` does not have this field
    |
    = note: all struct fields are already assigned

error[E0560]: struct `EscalationPolicy` has no field named `initial_gas_multiplier_pct`
   --> apps/argus/src/config.rs:163:13
    |
163 |             initial_gas_multiplier_pct: self.initial_gas_multiplier_pct,
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ `EscalationPolicy` does not have this field
    |
    = note: all struct fields are already assigned

error[E0560]: struct `EscalationPolicy` has no field named `gas_multiplier_pct`
   --> apps/argus/src/config.rs:164:13
    |
164 |             gas_multiplier_pct: self.gas_multiplier_pct,
    |             ^^^^^^^^^^^^^^^^^^ `EscalationPolicy` does not have this field
    |
    = note: all struct fields are already assigned

error[E0560]: struct `EscalationPolicy` has no field named `gas_multiplier_cap_pct`
   --> apps/argus/src/config.rs:165:13
    |
165 |             gas_multiplier_cap_pct: self.gas_multiplier_cap_pct,
    |             ^^^^^^^^^^^^^^^^^^^^^^ `EscalationPolicy` does not have this field
    |
    = note: all struct fields are already assigned

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@bplatak bplatak requested a review from jayantk July 9, 2025 17:29
@vercel
Copy link

vercel bot commented Jul 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 5:33pm

@bplatak bplatak merged commit 87bc98a into main Jul 9, 2025
9 checks passed
@bplatak bplatak deleted the fix/argus/compile-error-1 branch July 9, 2025 18:45
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