Hi guys! I’m developing a script create_order for orderbook. I got this mistake:
Failed to open order: IOError(Custom { kind: Other, error: "Response errors; Validity(InsufficientFeeAmount { expected: 326087, provided: 0 })" })
Contract link
how to reproduce the error
- Clone repo
git clone https://github.com/compolabs/orderbook-contract
git checkout -b scripts origin/scripts
- Create .env file in project root with private key
echo "ADMIN=your_private_key" > .env
- Build contract
cd contract
forc build
- Run create_order.rs script
cargo run --bin create_order
My toolchain
Default host: aarch64-apple-darwin
fuelup home: /Users/master/.fuelup
installed toolchains
--------------------
beta-3-aarch64-apple-darwin
beta-4-aarch64-apple-darwin
latest-aarch64-apple-darwin (default)
latest-2023-01-18-aarch64-apple-darwin
new-creation
active toolchain
----------------
latest-aarch64-apple-darwin (default)
forc : 0.49.2
- forc-client
- forc-deploy : 0.49.2
- forc-run : 0.49.2
- forc-crypto : 0.49.2
- forc-doc : 0.49.2
- forc-explore : 0.28.1
- forc-fmt : 0.49.2
- forc-lsp : 0.49.2
- forc-tx : 0.49.2
- forc-wallet : 0.4.3
fuel-core : 0.22.1
fuel-core-keygen : 0.22.1
fuels versions
--------------
forc : 0.54.0
forc-wallet : 0.54.0
fuel
2
we are calling this script on testnet beta-5
the script calls this func
And it fails with the next error
Failed to open order: IOError(Custom { kind: Other, error: "Response errors; Validity(InsufficientFeeAmount { expected: 326087, provided: 0 })" })
Friends, please help us
Hey guys this should be resolved in this PR