File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Install cargo-codspeed
2929 uses : taiki-e/install-action@v2
3030 with :
31- tool : cargo-codspeed
31+ tool : cargo-codspeed@4.0.5
3232 - name : Build the benchmark target(s)
3333 run : ./.github/scripts/codspeed-build.sh
3434 - name : Run the benchmarks
Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ pub fn spec_id_at_timestamp_and_number(
114114 chain_spec : impl ScrollHardforks ,
115115) -> ScrollSpecId {
116116 if chain_spec
117+ . scroll_fork_activation ( ScrollHardfork :: Galileo )
118+ . active_at_timestamp_or_number ( timestamp, number)
119+ {
120+ ScrollSpecId :: GALILEO
121+ } else if chain_spec
117122 . scroll_fork_activation ( ScrollHardfork :: Feynman )
118123 . active_at_timestamp_or_number ( timestamp, number)
119124 {
Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ mod tests {
345345 err. kind,
346346 PoolErrorKind :: InvalidTransaction (
347347 InvalidPoolTransactionError :: Consensus ( InvalidTransactionError :: InsufficientFunds ( GotExpectedBoxed ( expected) ) )
348- ) if * expected == GotExpected { got: U256 :: from( 400000 ) , expected: U256 :: from( 4205858031847u64 ) }
348+ ) if * expected == GotExpected { got: U256 :: from( 400000 ) , expected: U256 :: from( 483673629772436u64 ) }
349349 ) ) ;
350350
351351 // explicitly drop the manager here otherwise the `TransactionValidationTaskExecutor` will
You can’t perform that action at this time.
0 commit comments