diff --git a/packages/api/test/transaction.e2e-spec.ts b/packages/api/test/transaction.e2e-spec.ts index 3e29e0768..0fb7aa4dd 100644 --- a/packages/api/test/transaction.e2e-spec.ts +++ b/packages/api/test/transaction.e2e-spec.ts @@ -264,6 +264,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2009", gasPrice: "1009", + gasUsed: "7009", gasPerPubdata: "5009", maxFeePerGas: "3009", maxPriorityFeePerGas: "4009", @@ -293,6 +294,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2008", gasPrice: "1008", + gasUsed: "7008", gasPerPubdata: "5008", maxFeePerGas: "3008", maxPriorityFeePerGas: "4008", @@ -322,6 +324,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2007", gasPrice: "1007", + gasUsed: "7007", gasPerPubdata: "5007", maxFeePerGas: "3007", maxPriorityFeePerGas: "4007", @@ -351,6 +354,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2006", gasPrice: "1006", + gasUsed: "7006", gasPerPubdata: "5006", maxFeePerGas: "3006", maxPriorityFeePerGas: "4006", @@ -380,6 +384,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2005", gasPrice: "1005", + gasUsed: "7005", gasPerPubdata: "5005", maxFeePerGas: "3005", maxPriorityFeePerGas: "4005", @@ -408,6 +413,7 @@ describe("TransactionController (e2e)", () => { fee: "0x2386f26fc10000", from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasPrice: "1004", + gasUsed: "7004", gasLimit: "2004", gasPerPubdata: "5004", maxFeePerGas: "3004", @@ -438,6 +444,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2003", gasPrice: "1003", + gasUsed: "7003", gasPerPubdata: "5003", maxFeePerGas: "3003", maxPriorityFeePerGas: "4003", @@ -466,6 +473,7 @@ describe("TransactionController (e2e)", () => { fee: "0x2386f26fc10000", from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasPrice: "1002", + gasUsed: "7002", gasLimit: "2002", gasPerPubdata: "5002", maxFeePerGas: "3002", @@ -495,6 +503,7 @@ describe("TransactionController (e2e)", () => { fee: "0x2386f26fc10000", from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasPrice: "1001", + gasUsed: "7001", gasLimit: "2001", gasPerPubdata: "5001", maxFeePerGas: "3001", @@ -525,6 +534,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2000", gasPrice: "1000", + gasUsed: "7000", gasPerPubdata: "5000", maxFeePerGas: "3000", maxPriorityFeePerGas: "4000", @@ -564,6 +574,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2008", gasPrice: "1008", + gasUsed: "7008", gasPerPubdata: "5008", maxFeePerGas: "3008", maxPriorityFeePerGas: "4008", @@ -593,6 +604,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2007", gasPrice: "1007", + gasUsed: "7007", gasPerPubdata: "5007", maxFeePerGas: "3007", maxPriorityFeePerGas: "4007", @@ -622,6 +634,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2006", gasPrice: "1006", + gasUsed: "7006", gasPerPubdata: "5006", maxFeePerGas: "3006", maxPriorityFeePerGas: "4006", @@ -707,6 +720,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2001", gasPrice: "1001", + gasUsed: "7001", gasPerPubdata: "5001", maxFeePerGas: "3001", maxPriorityFeePerGas: "4001", @@ -761,6 +775,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2001", gasPrice: "1001", + gasUsed: "7001", gasPerPubdata: "5001", maxFeePerGas: "3001", maxPriorityFeePerGas: "4001", @@ -815,6 +830,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2007", gasPrice: "1007", + gasUsed: "7007", gasPerPubdata: "5007", maxFeePerGas: "3007", maxPriorityFeePerGas: "4007", @@ -844,6 +860,7 @@ describe("TransactionController (e2e)", () => { from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C", gasLimit: "2006", gasPrice: "1006", + gasUsed: "7006", gasPerPubdata: "5006", maxFeePerGas: "3006", maxPriorityFeePerGas: "4006", diff --git a/packages/app/tests/components/transactions/GeneralInfo.spec.ts b/packages/app/tests/components/transactions/GeneralInfo.spec.ts index 6efd2a5da..b89978120 100644 --- a/packages/app/tests/components/transactions/GeneralInfo.spec.ts +++ b/packages/app/tests/components/transactions/GeneralInfo.spec.ts @@ -176,6 +176,8 @@ const transaction: TransactionItem = { gasPerPubdata: "800", maxFeePerGas: "7000", maxPriorityFeePerGas: "8000", + isEvmLike: false, + contractAddress: null, }; vi.mock("@/composables/useToken", () => {