-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure account deployment for executTxn in get-starknet (#250)
* feat: add webpack.config.dev.js for local serving of remoteEntry.js * chore: lint and optional env variable for SNAP_ID * fix: update get-starknet/webpack-dev-server dep to address security vulnerability * fix: remoteEntry.js serving done on static file from dist/webpack folder * chore: added .env.sample example file * feat: optional PUBLIC_PATH env variable to produce local remoteEntry.js * chore: updated README.md * fix: env variable for local environment resolved at build time * fix: check and deploy on executeTxn * fix: isAccountDeployed requires publicKey * feat: add waiting mode for create account * feat: wait for tx in executTxn if account not deployed * test: adapted executeTxn tests to account for accountDeployment feature * style: prettier * style: lint * fix: waitForDeployment * test: fix executeTxn * fix: lint * fix: add waitForTransaction to maximize chance of success * fix: snap.manifest.json endowment:rpc * fix: uses estimateFeeBulk directly * style: remove console.log * test: executeTxn tests with account deployed or not * test: improve coverage and readability * test: rollback to match MM style --------- Co-authored-by: stanleyyuen <[email protected]>
- Loading branch information
1 parent
a0e4283
commit c98f2c7
Showing
5 changed files
with
219 additions
and
28 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -3248,7 +3248,7 @@ __metadata: | |
|
||
"@consensys/starknet-snap@file:../starknet-snap::locator=wallet-ui%40workspace%3Apackages%2Fwallet-ui": | ||
version: 2.7.0 | ||
resolution: "@consensys/starknet-snap@file:../starknet-snap#../starknet-snap::hash=099522&locator=wallet-ui%40workspace%3Apackages%2Fwallet-ui" | ||
resolution: "@consensys/starknet-snap@file:../starknet-snap#../starknet-snap::hash=da052f&locator=wallet-ui%40workspace%3Apackages%2Fwallet-ui" | ||
dependencies: | ||
"@metamask/snaps-sdk": 3.0.1 | ||
async-mutex: ^0.3.2 | ||
|
@@ -3257,7 +3257,7 @@ __metadata: | |
ethers: ^5.5.1 | ||
starknet: 6.7.0 | ||
starknet_v4.22.0: "npm:[email protected]" | ||
checksum: a53e3b5b9b53448473b4b362ebdda3d1ecb97321baa7db52393c0b43e9454ccb81d641bd2a86956896a591c23f237566d4c131034806c2609de79f9f1a12ba41 | ||
checksum: d9b1b74d87bd0062457119a8a47fde7ca7914e5e235d2bda51b6f99f74f6a621d6134845518e0c4c969cc84eeaca24bc0cf4ee91245a69c98dc4e4a0a955caab | ||
languageName: node | ||
linkType: hard | ||
|
||
|