Skip to content

Commit 55baa99

Browse files
authored
Fix: Throw error if amount and gas is more than balance (#7358)
1 parent c75e434 commit 55baa99

File tree

8 files changed

+24
-693
lines changed

8 files changed

+24
-693
lines changed

.changeset/weak-papayas-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix etherlink transfers when too little funds

packages/thirdweb/src/bridge/Status.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.status", () => {
4444
it("should handle successful status with chain", async () => {
4545
const result = await status({
4646
transactionHash:
47-
"0x7bedc4693e899fe81a22dac11301e77a12a6e772834bba5b698baf3ebcf86f7a",
47+
"0x06ac91479b3ea4c6507f9b7bff1f2d5f553253fa79af9a7db3755563b60f7dfb",
4848
chain: defineChain(8453),
4949
client: TEST_CLIENT,
5050
});

packages/thirdweb/src/react/core/hooks/useBridgeError.test.ts

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)