File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
describe ( "Finality tests" , function ( ) {
9
9
test ( "Receive expected number of rounds" , ( ) => {
10
- expect ( finalityThreshold ( "Ethereum" ) ) . toEqual ( 96 ) ;
10
+ expect ( finalityThreshold ( "Ethereum" ) ) . toEqual ( 72 ) ;
11
11
expect ( finalityThreshold ( "Algorand" ) ) . toEqual ( 0 ) ;
12
12
expect ( finalityThreshold ( "Solana" ) ) . toEqual ( 32 ) ;
13
13
} ) ;
@@ -41,7 +41,7 @@ describe("Finality tests", function () {
41
41
test ( "Estimates rounds from finalized consistency level" , ( ) => {
42
42
// 100 + (# final rounds)
43
43
expect ( consistencyLevelToBlock ( "Ethereum" , ConsistencyLevels . Finalized , fromBlock ) ) . toEqual (
44
- fromBlock + 96n ,
44
+ fromBlock + 72n ,
45
45
) ;
46
46
expect ( consistencyLevelToBlock ( "Solana" , ConsistencyLevels . Finalized , fromBlock ) ) . toEqual (
47
47
fromBlock + 32n ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const safeThreshold = constMap(safeThresholds);
26
26
// Number of blocks before a transaction is considered "final"
27
27
const finalityThresholds = [
28
28
[ "Solana" , 32 ] ,
29
- [ "Ethereum" , 96 ] ,
29
+ [ "Ethereum" , 72 ] , // between 64 and 95 blocks; use 72 as a middle ground
30
30
[ "Bsc" , 15 ] ,
31
31
// Checkpointed to L1 after ~512 blocks
32
32
[ "Optimism" , 512 ] ,
You can’t perform that action at this time.
0 commit comments