We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d342da commit 24aa890Copy full SHA for 24aa890
vms/evm/acp226/acp226.go
@@ -21,6 +21,10 @@ const (
21
// MaxDelayExcessDiff (Q) is the maximum change in excess per update
22
MaxDelayExcessDiff = 200
23
24
+ // InitialDelayExcess represents the initial (≈2000ms) delay excess.
25
+ // Formula: ConversionRate (2^20) * ln(2000) + 1
26
+ InitialDelayExcess = 7_970_124
27
+
28
maxDelayExcess = 46_516_320 // ConversionRate * ln(MaxUint64 / MinDelayMilliseconds) + 1
29
)
30
vms/evm/acp226/acp226_test.go
@@ -49,8 +49,8 @@ var (
49
delay: 1000,
50
},
51
{
52
- name: "2000ms_delay",
53
- excess: 7_970_124, // ConversionRate (2^20) * ln(2000) + 1
+ name: "2000ms_delay_initial",
+ excess: InitialDelayExcess, // ConversionRate (2^20) * ln(2000) + 1
54
delay: 2000,
55
56
0 commit comments