This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
EOSJS PreRelease3 Updated Transaction Support Retry and Irreversible
Pre-release
Pre-release
Install
npm install enf-eosjs
What's Changed
- Updated support for send_transaction2
returnFailureTrace
: return partial traces on failed transactionsretryTrxNumBlocks
: request node to retry transaction until in a block of given height, blocking callretryIrreversible
: request node to retry transaction until it is irreversible or expires, blocking calluseOldRPC
: use old RPCpush_transaction
, rather than new RPC send_transactionuseOldSendRPC
: use old RPC/v1/chain/send_transaction
, rather than new RPC/v1/chain/send_transaction2
- Updated support for get_info
server_version_string
: string;fork_db_head_block_num
: number,fork_db_head_block_id
: string,server_full_version_string
: string,total_cpu_weight
: string,total_net_weight
: string,earliest_available_block_num
: number,last_irreversible_block_time
: string
Notes
Retry irreversible currently set for 30 blocks. This limit may be revised up to a max of 90 blocks.
Moving to npm
. yarn
support is deprecated and will go away with full release.
Tested on node 16.15.1
and npm 8.11.00
New Contributors
- @ericpassmore made their first contribution in #3
- @NatPDeveloper made their first contribution in #8
Full Changelog: https://github.com/eosnetworkfoundation/mandel-eosjs/commits/23.0.0-rc3