@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
export const name = 'Boba Network Transaction Fees';
|
14 |
-
export const version = '
|
15 |
export const license = 'MIT';
|
16 |
|
17 |
export function setup(sdk: Context) {
|
@@ -50,6 +50,7 @@
|
|
50 |
const blockNumber = await provider.getBlockNumber();
|
51 |
const l2GasPrice = await provider.getGasPrice();
|
52 |
const l2GasEstimate = await provider.estimateGas({
|
|
|
53 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
54 |
to: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
55 |
value: '0x38d7ea4c68000',
|
@@ -73,6 +74,7 @@
|
|
73 |
const blockNumber = await provider.getBlockNumber();
|
74 |
const l2GasPrice = await provider.getGasPrice();
|
75 |
const l2GasEstimate = await provider.estimateGas({
|
|
|
76 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
77 |
to: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
78 |
data:
|
@@ -97,6 +99,7 @@
|
|
97 |
const blockNumber = await provider.getBlockNumber();
|
98 |
const l2GasPrice = await provider.getGasPrice();
|
99 |
const l2GasEstimate = await provider.estimateGas({
|
|
|
100 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
101 |
to: '0x17C83E2B96ACfb5190d63F5E46d93c107eC0b514',
|
102 |
value: '0x38d7ea4c68000',
|
11 |
*/
|
12 |
|
13 |
export const name = 'Boba Network Transaction Fees';
|
14 |
+
export const version = '2.0.1';
|
15 |
export const license = 'MIT';
|
16 |
|
17 |
export function setup(sdk: Context) {
|
50 |
const blockNumber = await provider.getBlockNumber();
|
51 |
const l2GasPrice = await provider.getGasPrice();
|
52 |
const l2GasEstimate = await provider.estimateGas({
|
53 |
+
gasPrice: 1, // Required to trigger custom fee logic
|
54 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
55 |
to: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
56 |
value: '0x38d7ea4c68000',
|
74 |
const blockNumber = await provider.getBlockNumber();
|
75 |
const l2GasPrice = await provider.getGasPrice();
|
76 |
const l2GasEstimate = await provider.estimateGas({
|
77 |
+
gasPrice: 1, // Required to trigger custom fee logic
|
78 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
79 |
to: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
80 |
data:
|
99 |
const blockNumber = await provider.getBlockNumber();
|
100 |
const l2GasPrice = await provider.getGasPrice();
|
101 |
const l2GasEstimate = await provider.estimateGas({
|
102 |
+
gasPrice: 1, // Required to trigger custom fee logic
|
103 |
from: '0x5E7a06025892d8Eef0b5fa263fA0d4d2E5C3B549',
|
104 |
to: '0x17C83E2B96ACfb5190d63F5E46d93c107eC0b514',
|
105 |
value: '0x38d7ea4c68000',
|