-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #257 from G7DAO/feat/update-bridge-sdk
Feat/update bridge sdk
- Loading branch information
Showing
17 changed files
with
625 additions
and
225 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
webapps/world-builder-dashboard/patches/game7-bridge-sdk+0.0.74.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/node_modules/game7-bridge-sdk/dist/bridgeTransfer.js b/node_modules/game7-bridge-sdk/dist/bridgeTransfer.js | ||
index 9ab8926..24a757a 100644 | ||
--- a/node_modules/game7-bridge-sdk/dist/bridgeTransfer.js | ||
+++ b/node_modules/game7-bridge-sdk/dist/bridgeTransfer.js | ||
@@ -272,11 +272,15 @@ export class BridgeTransfer { | ||
execute(signer) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (!this.childTransactionReceipt) { | ||
+ console.log('here before originreceipt') | ||
const originReceipt = yield this.originProvider.getTransactionReceipt(this.txHash); | ||
this.childTransactionReceipt = new ChildTransactionReceipt(originReceipt); | ||
+ console.log('here after originreceipt') | ||
} | ||
+ console.log('here') | ||
const messages = (yield this.childTransactionReceipt.getChildToParentMessages(signer)); | ||
const message = messages[0]; | ||
+ console.log(message); | ||
const res = yield message.execute(this.originProvider); | ||
return yield res.wait(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react' | ||
|
||
const IconChevronUp: React.FC<React.SVGProps<SVGSVGElement>> = (props) => ( | ||
<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' {...props}> | ||
<path d='M15 12.5L10 7.5L5 12.5' stroke='#B9B9B9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' /> | ||
</svg> | ||
) | ||
|
||
export default IconChevronUp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.