Commit 1c14e68
committed
fix(fuzz): align Cargo feature names with #[invariant_test] fn names
Crucible v0.2.0 dispatches an invariant by feature flag, and that flag
must match the `#[invariant_test] fn <name>(...)` identifier in main.rs
(jito_tipdist_ref convention). CI invokes:
crucible run pyth_solana_receiver invariant_two_step_governance_atomic
crucible run pyth_solana_receiver invariant_reclaim_rent_returns_to_write_authority
so rename the corresponding fuzz crate features from the abbreviated
class names to the full invariant-fn names, in all 6 fuzz fixture
Cargo.toml files (3 reference variants × 2 fuzz fixtures each):
invariant_two_step_governance -> invariant_two_step_governance_atomic
invariant_reclaim_rent_conservation -> invariant_reclaim_rent_returns_to_write_authority
First CI run failed at "Crucible run — two_step_governance CLEAN" with
`the package 'pyth_two_step_governance_fuzz' does not contain this
feature: invariant_two_step_governance_atomic` — surface bug, not a
re-architecture.1 parent 39a545b commit 1c14e68
6 files changed
Lines changed: 6 additions & 6 deletions
File tree
- references
- pyth_receiver_ref_planted_reclaim_rent_conservation/fuzz
- pyth_reclaim_rent_conservation
- pyth_two_step_governance
- pyth_receiver_ref_planted_two_step_governance/fuzz
- pyth_reclaim_rent_conservation
- pyth_two_step_governance
- pyth_receiver_ref/fuzz
- pyth_reclaim_rent_conservation
- pyth_two_step_governance
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
0 commit comments