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 7b8603f commit ae77ba3Copy full SHA for ae77ba3
2 files changed
solana/programs/base_relayer/src/internal/eip_1559.rs
@@ -69,7 +69,8 @@ impl Eip1559 {
69
// Update state for new window
70
self.current_base_fee = current_base_fee;
71
self.current_window_gas_used = 0;
72
- self.window_start_time = current_timestamp;
+ self.window_start_time +=
73
+ (expired_windows_count * self.config.window_duration_seconds) as i64;
74
75
current_base_fee
76
}
solana/programs/bridge/src/common/state/bridge.rs
@@ -101,7 +101,8 @@ impl Eip1559 {
101
102
103
104
105
106
107
108
0 commit comments