File tree Expand file tree Collapse file tree
execution_engine_testing/test_support
node/src/reactor/main_reactor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ lint-smart-contracts:
131131
132132.PHONY : audit-rs
133133audit-rs :
134- $(CARGO ) audit --ignore RUSTSEC-2024-0437 --ignore RUSTSEC-2025-0022 --ignore RUSTSEC-2025-0055 --ignore RUSTSEC-2026-0001 --ignore RUSTSEC-2026-0007
134+ $(CARGO ) audit --ignore RUSTSEC-2024-0437 --ignore RUSTSEC-2025-0022 --ignore RUSTSEC-2025-0055 --ignore RUSTSEC-2026-0001 --ignore RUSTSEC-2026-0007 --ignore RUSTSEC-2026-0049 --ignore RUSTSEC-2026-0068 --ignore RUSTSEC-2026-0067
135135
136136.PHONY : audit
137137audit : audit-rs
Original file line number Diff line number Diff line change @@ -9,11 +9,14 @@ All notable changes to this project will be documented in this file. The format
99[ comment ] : < > ( Fixed: any bug fixes )
1010[ comment ] : < > ( Security: in case of vulnerabilities )
1111
12+ ## 9.0.0
1213
14+ ### Added
1315
14- ## [ Unreleased] (node 2.0)
16+ * Added ` RewardsHandling ` support to the execution engine
17+ * Added ` RewardsHandling ` field to the struct ` EngineConfig `
1518
16- ## [ Unreleased ] (node 2.0)
19+ ## 8.0.0
1720
1821### Added
1922
Original file line number Diff line number Diff line change @@ -9,7 +9,12 @@ All notable changes to this project will be documented in this file. The format
99[ comment ] : < > ( Fixed: any bug fixes )
1010[ comment ] : < > ( Security: in case of vulnerabilities )
1111
12+ ## 9.0.0
1213
14+ ### Added
15+
16+ * Added support for ` RewardsHandling ` to the execution engine testing crate
17+ * Added support for ` minimum_delegation_rate ` to the execution engine testing crate
1318
1419## 7.0.1
1520
Original file line number Diff line number Diff line change @@ -148,6 +148,24 @@ impl MainReactor {
148148 return Ok ( None ) ;
149149 }
150150
151+ // If the node was validating in the previous era there is a possibility that it didn't get
152+ // a chance to apply it's finality signature to the last (or some of the last)
153+ // blocks of that era. If that's true - it it might try to do that and for that it
154+ // needs to have the validator matrix updated with appropriate era data.
155+ // We stop saturating the validator matrix before we get to latest era, because there might
156+ // have been a chainspec override of the validators during activation.
157+ let number_of_switch_blocks = recent_switch_block_headers. len ( ) ;
158+ for i in 0 ..( number_of_switch_blocks - 1 ) {
159+ if let Some ( block) = recent_switch_block_headers. get ( i) {
160+ if let Some ( validator_weights) = block. next_era_validator_weights ( ) {
161+ self . validator_matrix . register_validator_weights (
162+ block. era_id ( ) . successor ( ) ,
163+ validator_weights. clone ( ) ,
164+ ) ;
165+ }
166+ }
167+ }
168+
151169 if let HighestOrphanedBlockResult :: Orphan ( highest_orphaned_block_header) =
152170 self . storage . get_highest_orphaned_block_header ( )
153171 {
Original file line number Diff line number Diff line change @@ -9,7 +9,24 @@ All notable changes to this project will be documented in this file. The format
99[ comment ] : < > ( Fixed: any bug fixes )
1010[ comment ] : < > ( Security: in case of vulnerabilities )
1111
12+ ## 5.0.0
1213
14+ ### Added
15+
16+ * Added a field ` rewards ` handling to Config in the ` runtime_native ` module_
17+
18+ ### Changed
19+
20+ * Modified the behavior of the protocol upgrade logic to add a sustain purse to the mints named keys if the rewards
21+ handling to sustain
22+ * Modified the behavior of the protocol upgrade logic to recalculate the total supply at the point of protocol upgrade
23+ * Modified the Genesis flow to support the rewards handling mode sustain in the Account/Contract model
24+ * Modified the auction logic to keep track of a minimum delegation rate for validators
25+
26+ ### Fixed
27+
28+ * Fixed a bug introduced during protocol version 2.0 in the genesis logic that did not include delegator stakes towards
29+ the total supply
1330
1431## 4.0.1
1532
Original file line number Diff line number Diff line change @@ -9,9 +9,22 @@ All notable changes to this project will be documented in this file. The format
99[ comment ] : < > ( Fixed: any bug fixes )
1010[ comment ] : < > ( Security: in case of vulnerabilities )
1111
12- ## [ UNRELEASED] casper-types 6.0.0
12+ ## casper-types 7.0.0
13+
14+ ### Added
15+
16+ - Added new enum ` RewardsHandling ` with two variants ` Standard ` and ` Sustain `
17+ - Added ` RewardsHandling ` to the ` CoreConfig ` as the field ` rewards_handling `
18+ - Added ` RewardsHandling ` to the ` ProtocolUpgradeConfig ` as the field ` rewards_handling `
19+ - Added new field ` minimum_delegation_rate ` to the ` CoreConfig ` struct
20+ - Added new variant ` Key::RewardsHandling ` to the ` Key ` enum
21+ - Added new variant ` GenesisAccount::Sustain ` to the ` GenesisAccount ` enum
22+ - Added new constant ` MINT_SUSTAIN_PURSE_KEY `
23+
24+ ## casper-types 6.0.0
25+
26+ ### Added
1327
14- ### Added
1528- TransactionInvocationTarget::ByPackageHash::protocol_version_major field
1629- TransactionInvocationTarget::ByPackageName::protocol_version_major field
1730- New variant PackageIdentifier::HashWithVersion
You can’t perform that action at this time.
0 commit comments