Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: upgrade fuel-core to 0.41.6 #3590

Open
wants to merge 95 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 90 commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
24a2a10
using fuel core 0.41.0
Torres-ssf Jan 15, 2025
a2baaf8
update fuel-core schema
Torres-ssf Jan 15, 2025
a2c8588
add new scalars
Torres-ssf Jan 15, 2025
1514020
made getBalances support pagination
Torres-ssf Jan 15, 2025
c9fe8b4
made balance related queries use amount128 instead of amount
Torres-ssf Jan 15, 2025
3ead231
add todo test
Torres-ssf Jan 15, 2025
7675278
update return type of getMessageProof
Torres-ssf Jan 15, 2025
0e8a7be
add maxGas and txPoolStats to nodeInfoFragment
Torres-ssf Jan 15, 2025
90a0fdd
add TODO
Torres-ssf Jan 15, 2025
fcc5b5d
implement query for getAssetDetails
Torres-ssf Jan 15, 2025
ceb8d25
implement getAssetDetails method
Torres-ssf Jan 15, 2025
4563216
implement daCompressedBlock method
Torres-ssf Jan 15, 2025
cd7daa6
add new expiration policy
Torres-ssf Jan 15, 2025
4b4c49b
fix var name
Torres-ssf Jan 15, 2025
85ffa1a
fix test description
Torres-ssf Jan 15, 2025
f2f3ca9
add tests for new expiration policy
Torres-ssf Jan 15, 2025
73f4361
add expiration policy to TransactionRequest
Torres-ssf Jan 15, 2025
e5374ae
support expiration policy on BaseInvocationScope
Torres-ssf Jan 15, 2025
468f54b
adjust policies order
Torres-ssf Jan 15, 2025
c30108c
add e2e test for new expiration policy
Torres-ssf Jan 15, 2025
99e6a1b
unify 2 errors to conform with fuel core changes
Torres-ssf Jan 16, 2025
bca1a27
adjust tests
Torres-ssf Jan 16, 2025
757a692
fix test
Torres-ssf Jan 16, 2025
2a6990d
fix error message
Torres-ssf Jan 16, 2025
985bfc3
fix test
Torres-ssf Jan 16, 2025
5872e8d
adjusting test
Torres-ssf Jan 16, 2025
af5b9a8
fix test case
Torres-ssf Jan 16, 2025
4158f84
adjust test
Torres-ssf Jan 16, 2025
d550e44
fix test
Torres-ssf Jan 16, 2025
821ebdc
unset cached resources as soon as the TX is processed
Torres-ssf Jan 16, 2025
d2d176e
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 16, 2025
7701bad
document new expiration policy
Torres-ssf Jan 16, 2025
85a87bf
reverting breaking changes
Torres-ssf Jan 17, 2025
04c02f5
remove unused imports
Torres-ssf Jan 17, 2025
33902b8
add changeset
Torres-ssf Jan 17, 2025
ea88409
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 17, 2025
5590af0
adjusting errors messages from master
Torres-ssf Jan 17, 2025
a8885bf
implement gte helper for semver
Torres-ssf Jan 20, 2025
ee65f50
add features property to Provider class
Torres-ssf Jan 20, 2025
3256690
implement query getBalancesV2
Torres-ssf Jan 20, 2025
42135f5
add support for balance pagination
Torres-ssf Jan 20, 2025
e8e0f8e
implement query getBalanceV2
Torres-ssf Jan 20, 2025
34ae0cb
made getBalance return amount128 when supported by the node
Torres-ssf Jan 20, 2025
6428260
uncomment tests related to balance pagination
Torres-ssf Jan 20, 2025
de1679c
fix test
Torres-ssf Jan 20, 2025
01344d3
add more values to Features type
Torres-ssf Jan 20, 2025
23d82c4
ensure node supports getAssetDetails query
Torres-ssf Jan 20, 2025
f0649fd
ensure node supports daCompressedBlock query
Torres-ssf Jan 20, 2025
890a247
add more tests
Torres-ssf Jan 20, 2025
b370707
upgrade @fuels/vm-asm dep
Torres-ssf Jan 20, 2025
3d8e44e
update PANIC_REASONS const
Torres-ssf Jan 20, 2025
7b64418
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 20, 2025
3baa297
add TS DOCS
Torres-ssf Jan 21, 2025
8a8c773
add comments
Torres-ssf Jan 21, 2025
e85faa9
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 21, 2025
a08e7fe
comparing messages using regex instead of switch
Torres-ssf Jan 22, 2025
1321c22
update gql error message to match with any value
Torres-ssf Jan 22, 2025
4dd1f36
throwing error in proper place
Torres-ssf Jan 22, 2025
feba962
release PR
Torres-ssf Jan 22, 2025
aa2d70f
remove backwards compatibility for new features
Torres-ssf Jan 22, 2025
34cb7e6
remove TODO
Torres-ssf Jan 22, 2025
d2c55af
add test for u128 balances
Torres-ssf Jan 22, 2025
fa363cb
add test to validate getBalancesV1
Torres-ssf Jan 22, 2025
0b29a60
stop releasing PR
Torres-ssf Jan 22, 2025
438fa98
add test for daCompressedBlock
Torres-ssf Jan 22, 2025
dc94c51
add new props to GasCosts
Torres-ssf Jan 22, 2025
2980197
fix changeset
Torres-ssf Jan 22, 2025
3ecdae9
rename NOT_ENOUGH_FUNDS error and removed MAX_COINS_REACHED
Torres-ssf Jan 23, 2025
c3945ee
improving docs
Torres-ssf Jan 23, 2025
0f75513
fix changeset
Torres-ssf Jan 23, 2025
092aa06
fix link
Torres-ssf Jan 23, 2025
cedd2ee
Update apps/docs/src/guide/errors/index.md
Torres-ssf Jan 23, 2025
7df0184
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 23, 2025
24e2cb3
Update apps/docs/src/guide/errors/index.md
Torres-ssf Jan 23, 2025
48d1a1d
remove duplicated doc paragraph
Torres-ssf Jan 23, 2025
ede84bc
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 23, 2025
8c698d5
format forc project
Torres-ssf Jan 24, 2025
de249ef
fix BN variable
Torres-ssf Jan 24, 2025
e141e36
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 25, 2025
fbbf8c9
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 27, 2025
5861d88
chore: upgrade `fuel core` to `0.41.4` (#3628)
petertonysmith94 Jan 28, 2025
8a10deb
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Jan 30, 2025
d93a018
fix changeset
Torres-ssf Jan 30, 2025
8f34540
remove duplicated changeset
Torres-ssf Jan 30, 2025
c424a05
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 3, 2025
f352b58
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 4, 2025
68cc74e
upgrade fuel-core to 0.41.5
Torres-ssf Feb 4, 2025
92bccaf
fix changeset
Torres-ssf Feb 4, 2025
fa866c7
update fuel core graphql schema
Torres-ssf Feb 4, 2025
0059130
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 4, 2025
8c5e302
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 5, 2025
15c7b42
upgrade fuel-core to 0.41.6
Torres-ssf Feb 6, 2025
5865573
fix changeset
Torres-ssf Feb 6, 2025
9457de2
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 6, 2025
f8557f9
Merge branch 'master' into st/chore/upgrade-fuel-core@0.41.0
Torres-ssf Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/real-schools-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@fuel-ts/transactions": minor
"@internal/fuel-core": minor
"@fuel-ts/contract": minor
"@fuel-ts/versions": minor
"@fuel-ts/account": minor
"@fuel-ts/program": minor
"@fuel-ts/recipes": minor
"@fuel-ts/errors": minor
"@fuel-ts/utils": minor
---

chore!: upgrade `fuel-core` to `0.41.5`
2 changes: 1 addition & 1 deletion apps/create-fuels-counter-guide/fuel-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channel = "testnet"

[components]
forc = "0.66.6"
fuel-core = "0.40.4"
fuel-core = "0.41.5"
4 changes: 2 additions & 2 deletions apps/demo-bun-fuels/src/bun.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ describe('ExampleContract', () => {
await expectToThrowFuelError(
() => contractInstance.functions.return_input(1337).simulate(),
new FuelError(
ErrorCode.NOT_ENOUGH_FUNDS,
`The account(s) sending the transaction don't have enough funds to cover the transaction.`
ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
`Insufficient funds or too many small value coins. Consider combining UTXOs.`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm maybe we improve our error docs for this and link it in the message? We should probably offer a way for them to work out whether it's insufficient balance or too many coins.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c3945ee

Please let me know if you think the needs further improvements

)
);
});
Expand Down
4 changes: 2 additions & 2 deletions apps/demo-fuels/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ describe('ExampleContract', () => {
await expectToThrowFuelError(
() => contractInstance.functions.return_input(1337).simulate(),
new FuelError(
ErrorCode.NOT_ENOUGH_FUNDS,
`The account(s) sending the transaction don't have enough funds to cover the transaction.`
ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
`Insufficient funds or too many small value coins. Consider combining UTXOs.`
)
);
});
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"pretest": "pnpm original:build"
},
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"@fuels/vm-asm": "0.59.1",
"@types/node": "22.5.5",
"@types/react-dom": "18.3",
"@types/react": "18.3.11",
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.29",
"private": true,
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"@fuels/vm-asm": "0.59.1",
"@testing-library/react": "16.0.1",
"@types/node": "22.5.5",
"@types/react": "18.3.11",
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pretest": "pnpm original:build"
},
"dependencies": {
"@fuels/vm-asm": "0.58.2",
"@fuels/vm-asm": "0.59.1",
"fuels": "workspace:*",
"react-dom": "18.3.1",
"react": "18.3.1"
Expand Down
4 changes: 2 additions & 2 deletions apps/demo-typegen/src/demo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ it('should throw when simulating via contract factory with wallet with no resour
await expectToThrowFuelError(
() => contractInstance.functions.return_input(1337).simulate(),
new FuelError(
ErrorCode.NOT_ENOUGH_FUNDS,
`The account(s) sending the transaction don't have enough funds to cover the transaction.`
ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
`Insufficient funds or too many small value coins. Consider combining UTXOs.`
)
);
});
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/guide/cookbook/combining-utxos.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Combining UTXOs

When performing a funding operation or calling `getResourcesToSpend`, you may encounter the `MAX_COINS_REACHED` error if the number of coins fetched per asset exceeds the maximum limit allowed by the chain.
When performing a funding operation or calling `getResourcesToSpend`, you may encounter the `INSUFFICIENT_FUNDS_OR_MAX_COINS` error if the number of coins fetched per asset exceeds the maximum limit allowed by the chain.

You may also want to do this if you want to reduce the number of inputs in your transaction, which can be useful if you are trying to reduce the size of your transaction or you are receiving the `MAX_INPUTS_EXCEEDED` error.

Expand Down
20 changes: 11 additions & 9 deletions apps/docs/src/guide/errors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,19 @@ When the Fuel Node info cache is empty; This is usually caused by not being conn

Ensure that the provider has connected to a Fuel Node successfully.

### `NOT_ENOUGH_FUNDS`
### `INSUFFICIENT_FUNDS_OR_MAX_COINS`

When the account sending the transaction does not have enough funds to cover the fee.
This error can occur during a funding operation or when calling the `getResourcesToSpend` method. It indicates one of the following issues:

Ensure that the account creating the transaction has been funded appropriately.
`Insufficient Balance`: The specified account does not have enough balance to cover the required amount.

`UTXO Limit Exceeded`: Although the account has enough total funds, the funds are spread across too many UTXOs (coins). The blockchain limits how many UTXOs can be used in a single transaction, and exceeding this limit prevents the transaction from being processed.

First, to be sure what the real reason is, you can fetch the [balance](../wallets/checking-balances.md) of the `assetId` to ensure that the account has enough funds to cover the amount. After knowing the reason, to solve you can:

`For Insufficient Balance`: Acquire additional funds in the required asset to meet the amount needed.

`For UTXO Limit Exceeded`: Combine UTXOs to reduce their number and meet the network's requirements. You can follow [this guide](../cookbook/combining-utxos.md) to learn how to combine UTXOs effectively.

### `TIMEOUT_EXCEEDED`

Expand Down Expand Up @@ -331,9 +339,3 @@ When the number of transaction inputs exceeds the maximum limit allowed by the b
### `MAX_OUTPUTS_EXCEEDED`

When the number of transaction outputs exceeds the maximum limit allowed by the blockchain.

### `MAX_COINS_REACHED`

When performing a funding operation, or calling `getResourcesToSpend`, this error can be thrown if the number of coins fetched per asset exceeds the maximum limit allowed by the blockchain.

This can be avoided by paginating the results of the `getCoins` method to fund your transaction, or by reducing the number of UTXOs for your account. This can be done by performing a transfer that amalgamates your UTXOs, as demonstrated in [this cookbook](../cookbook/combining-utxos.md).
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { error } = await safeExec(async () =>
);

// #region send-and-spend-funds-from-predicates-6
const errorMessage = `The account(s) sending the transaction don't have enough funds to cover the transaction.`;
const errorMessage = `Insufficient funds or too many small value coins. Consider combining UTXOs.`;
// #endregion send-and-spend-funds-from-predicates-6

const actualErrorMessage = (<Error>error).message;
Expand Down
12 changes: 9 additions & 3 deletions apps/docs/src/guide/transactions/adding-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transaction parameters allow you to configure various aspects of your blockchain

All available parameters are shown below:

<<< @./snippets/transaction-parameters.ts#transaction-parameters-6{ts:line-numbers}
<<< @./snippets/transaction-parameters.ts#transaction-parameters-7{ts:line-numbers}

## Gas Limit

Expand Down Expand Up @@ -38,6 +38,12 @@ The maximum byte length allowed for the transaction witnesses array. For instanc

<<< @./snippets/transaction-parameters.ts#transaction-parameters-5{ts:line-numbers}

## Expiration

The block number after which the transaction can no longer be included in the blockchain. For example, if you set the expiration block for your transaction to 200, and the transaction remains in the queue waiting to be processed when block 200 is created, the transaction will be rejected.

<<< @./snippets/transaction-parameters.ts#transaction-parameters-6{ts:line-numbers}

## Variable Outputs

The number of variable outputs that should be added to the transaction request. You can read more about it on this [guide](../contracts/variable-outputs.md)
Expand All @@ -48,11 +54,11 @@ The number of variable outputs that should be added to the transaction request.

To set the transaction parameters, you have access to the `txParams` method on a transaction request.

<<< @./snippets/transaction-parameters.ts#transaction-parameters-7{ts:line-numbers}
<<< @./snippets/transaction-parameters.ts#transaction-parameters-8{ts:line-numbers}

The same method is also accessible within a function invocation scope, so it can also be used when calling contract functions.

<<< @./snippets/transaction-parameters.ts#transaction-parameters-8{ts:line-numbers}
<<< @./snippets/transaction-parameters.ts#transaction-parameters-9{ts:line-numbers}

> **Note:** When performing an action that results in a transaction (e.g. contract deployment, contract call with `.call()`, asset transfer), the SDK will automatically estimate the fee based on the gas limit and the transaction's byte size. This estimation is used when building the transaction. As a side effect, your wallet must own at least one coin of the base asset, regardless of the amount.

Expand Down
4 changes: 4 additions & 0 deletions apps/docs/src/guide/transactions/adding-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ The number of blocks that must pass before the transaction can be included in a

The maximum amount you're willing to pay for the transaction using the base asset.

### Expiration

Block number after which the transaction can no longer be included in the blockchain.

## Setting Transaction Policies

The following snippet shows which transaction parameters correspond to which policies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const deploy = await CounterFactory.deploy(wallet);

const { contract } = await deploy.waitForResult();

// #region transaction-parameters-6
// #region transaction-parameters-7
const txParams: TxParams = {
// #region transaction-parameters-1
gasLimit: bn(70935),
Expand All @@ -30,17 +30,20 @@ const txParams: TxParams = {
// #region transaction-parameters-5
witnessLimit: bn(5000),
// #endregion transaction-parameters-5
// #region transaction-parameters-6
expiration: 200,
// #endregion transaction-parameters-6
};
// #endregion transaction-parameters-6
// #endregion transaction-parameters-7

// #region transaction-parameters-7
// #region transaction-parameters-8
const transactionRequest = new ScriptTransactionRequest({
script: ScriptSum.bytecode,
gasLimit: 100,
});
// #endregion transaction-parameters-7
// #endregion transaction-parameters-8

// #region transaction-parameters-8
// #region transaction-parameters-9
const { waitForResult } = await contract.functions
.increment_count(15) //
.txParams(txParams)
Expand All @@ -55,5 +58,5 @@ console.log('Transaction request', transactionRequest);
console.log('Transaction status', isStatusSuccess);
console.log('Transaction value', value);

// #endregion transaction-parameters-8
// #endregion transaction-parameters-9
// #endregion full
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const transactionRequest = new ScriptTransactionRequest({
tip: bn(10),
witnessLimit: 900,
maxFee: bn(2000),
expiration: 200,
});

// Set the script main function arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const transactionRequest = new ScriptTransactionRequest({
witnessLimit: bn(1), // Sets the witness limit policy
maturity: 1, // Sets the maturity policy
maxFee: bn(1), // Sets the max fee policy
expiration: 200, // Sets the block after which the transaction cannot be included.
});
// #endregion transaction-policies-1

Expand Down
2 changes: 1 addition & 1 deletion internal/fuel-core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.40.4
0.41.5
4 changes: 3 additions & 1 deletion packages/account/codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"U16": "string",
"U32": "string",
"U64": "string",
"UtxoId": "string"
"U128": "string",
"UtxoId": "string",
"SubId": "string"
},
"useTypeImports": true,
"dedupeOperationSuffix": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@fuel-ts/transactions": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuel-ts/versions": "workspace:*",
"@fuels/vm-asm": "0.58.2",
"@fuels/vm-asm": "0.59.1",
"@noble/curves": "1.6.0",
"events": "3.3.0",
"graphql": "16.9.0",
Expand Down
9 changes: 4 additions & 5 deletions packages/account/src/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ describe('Account', () => {
await expectToThrowFuelError(
() => user.getResourcesToSpend([[1, ASSET_A, 500_000]], { utxos: [assetAUTXO.id] }),
new FuelError(
ErrorCode.NOT_ENOUGH_FUNDS,
`The account(s) sending the transaction don't have enough funds to cover the transaction.`
ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
`Insufficient funds or too many small value coins. Consider combining UTXOs.`
)
);
});
Expand Down Expand Up @@ -969,9 +969,8 @@ describe('Account', () => {
request.addCoinOutput(wallet.address, 30_000, await provider.getBaseAssetId());

await expectToThrowFuelError(() => request.estimateAndFund(wallet), {
code: ErrorCode.MAX_COINS_REACHED,
message:
'The account retrieving coins has exceeded the maximum number of coins per asset. Please consider combining your coins into a single UTXO.',
code: ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
message: 'Insufficient funds or too many small value coins. Consider combining UTXOs.',
});
});

Expand Down
4 changes: 2 additions & 2 deletions packages/account/src/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import { assembleTransferToContractScript } from './utils/formatTransferToContra

export type TxParamsType = Pick<
ScriptTransactionRequestLike,
'gasLimit' | 'tip' | 'maturity' | 'maxFee' | 'witnessLimit'
'gasLimit' | 'tip' | 'maturity' | 'maxFee' | 'witnessLimit' | 'expiration'
>;

export type TransferParams = {
Expand Down Expand Up @@ -306,7 +306,7 @@ export class Account extends AbstractAccount implements WithAddress {
// If the transaction still needs to be funded after the maximum number of attempts
if (needsToBeFunded) {
throw new FuelError(
ErrorCode.NOT_ENOUGH_FUNDS,
ErrorCode.INSUFFICIENT_FUNDS_OR_MAX_COINS,
`The account ${this.address} does not have enough base asset funds to cover the transaction execution.`
);
}
Expand Down
Loading