Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: non-blocking blob deployment (#2929)
* feat: intitial support for deploying large contract via blob tx * fix: blob import * feat: remove instanceof checks * feat: blob tx spec and validity fixes * feat: correctly get blobIds * feat: add loader instructions * feat: append blob ids to loader * feat: lots of cleanup * feat: fix wait for result in blob tx * chore: linting * test: test mods * chore: add demo package build filter * test: add max size test for initial deploy method * feat: upgrade asm package * feat: fix blob cost estimation, funding and blob id handling * feat: dynamic blob sizing * chore: lint * feat: fuel-core with ed19 * feat: v4 gas costs, loader fixes and better blob id handling * feat: simplify funding * feat: loader contract fixes * chore: remove redundant code Co-authored-by: Peter Smith <[email protected]> * feat: isTransactionType helper * chore: doc blocks and pr refactors * chore: remove math from contract * feat: use fuel-core release * chore: isTransactionType cleanups * feat: use regex for response id check * chore: cleanups * feat: chunk size tolerance * test: deploy test cases * feat: add ed19 dependent cost to chain * feat: getBytecodeSize * docs: documentation for deploy methods * chore: use tolerance const Co-authored-by: Peter Smith <[email protected]> * chore: update docs Co-authored-by: Chad Nehemiah <[email protected]> * chore: update docs Co-authored-by: Chad Nehemiah <[email protected]> * feat: use [email protected] * chore: add test groups * docs: add chunk tolerance documentation * chore: fix doc * chore: remove redundant method * chore: deployContractOptions -> deployOptions * feat: isTransactionTypeBlob * feat: fail blob deploys for invalid funds * chore: fix casing in gas config * chore: linting * test: add e2e * chore: enable e2e * chore: update e2e timeout * chore: add networkUrl to e2e log * ajust fuel core version * update fuel core schema * fixing test case * fix maxFee tests * simplify some tests * ajust some tests * chore: add missing test groups * chore: enable devnet test * chore: enable only devnet * add group test * fix test * feat: optimise cost estimation Co-authored-by: Sérgio Torres <[email protected]> * add missing import from suggestion * make linter happy * increate test timeout * increase blob tx tests timeout * remove .only * feat: pass deploy options to size estimation * chore: disable testnet * test: update isTypeBlob test Co-authored-by: Peter Smith <[email protected]> * test: use typegend factories in some factory tests * test: add missing properties to test chain config * chore: lint * docs: add loader script rference * chore: improve chunk fuc * chore: remove redundant cast * docs: update deploying contracts intro * feat: update max size error message * chore: small refactor for factoryt * chore: refactor * chore: nit * docs: update errors docs * test: transactionRequestify tests * test: add another devnet test * doc: add further info around chunk size tolerance * chore: return e2e to defualts * chore: add spell check words * chore: remove breaking change * chore: changeset * fix: arrayify bytecode * fix: use workspace version Co-authored-by: Peter Smith <[email protected]> * chore: lock file * fix: changeset * chore: depsync * chore: update lock * docs: fix links * feat: BytesLike in contract factory * chore: disable testnet * test: fix docs assertion * feat: account for max tx size consensus param * test: blob configurable test * test: fix assertion * test: deploy via blobs with storage * feat: chunkSizeTolerance -> chunkSizeOverride * feat: manually use v4 gas types * chore: update snippet * feat: user patch fuel-core, fixes for devnet, blob ID already uploaded fails earleir * chore: chunkSizeTolerance ->chunkSizeOverride * test: e2e updates * chore: merge conflict * chore: restore fuel-core version * chore: fix built in version * chore: 0.32.1 upgrade * chore: changeset * choer: e2e * chore: lint * chore: enable testnet * chore: lint * chore: update changeset Co-authored-by: Anderson Arboleya <[email protected]> * docs: add typegen to snippet * chore: dont export chunk size constant Co-authored-by: Peter Smith <[email protected]> * undo test modification after fuel-core patch * docs: update doc Co-authored-by: Peter Smith <[email protected]> * feat: override -> multiplier * test: add bytecode size check * test: fix assertion * chore: follow ups * increase funding attempts to 5 * create error code * throw error if funding attempts are exceed * add gasPrice to fund method params to avoid re-fetch * chore: remove blob e2e * chore: remove script infinite * chore: lint * chore: reset the bare * feat: getTransactionId promise * chore: further conflicts * chore: reintroduce test groups in e2e * chore: fix tests and merge conflictt * chore: fix test group * feat: improve polling and docs * chore: changeset * chore: getTransactionId -> waitForTransactionId * doc: make blob note more verbose --------- Co-authored-by: Peter Smith <[email protected]> Co-authored-by: Chad Nehemiah <[email protected]> Co-authored-by: Sérgio Torres <[email protected]> Co-authored-by: Anderson Arboleya <[email protected]>
- Loading branch information