Skip to content

Commit c044224

Browse files
committed
fix(sdk/eip1193): failing test
1 parent 8460f6a commit c044224

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/thirdweb/src/adapters/eip1193/to-eip1193.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as ox__Hex from "ox/Hex";
12
import { describe, expect, test, vi } from "vitest";
23
import { TEST_WALLET_B } from "~test/addresses.js";
34
import { TEST_ACCOUNT_A } from "~test/test-wallets.js";
@@ -121,9 +122,7 @@ describe("toProvider", () => {
121122
params: [tx],
122123
});
123124

124-
expect(result).toEqual(
125-
"0x659bb0802d1d29c47a763ed03cea8f435f98e3be923fef1979f065d60cfb0242",
126-
);
125+
expect(ox__Hex.validate(result)).toBe(true);
127126
});
128127

129128
test("should handle eth_estimateGas", async () => {

0 commit comments

Comments
 (0)