Rust full node implementation of the Fuel v2 protocol.
OTHER License
Bot releases are hidden (Show)
Published by xgreenx 11 months ago
--api-request-timeout
argument to control TTL for GraphQL requests.no_std
compatibility.MessageStatus
for a specific message (by Nonce
)baseAssetId
to FeeParameters
in the GraphQL API.env
feature. This allows users to conveniently supply CLI arguments in a secure and IDE-agnostic way.submit_and_await_commit_with_receipts
method for FuelClient
.ED19
and ECR1
instructions.MemoryTransactionView
by Checkpoint
database in the benchmarks.fuel-vm
to v0.40.0
. It brings some breaking changes into consensus parameters API because of changes in the underlying types.todo
.DiscoveryEvent
and use KademliaEvent
directly in DiscoveryBehavior
.types::ConsensusParameters
in favour of fuel_tx:ConsensusParameters
.estimate_predicates
endpoint to utilize all available threads.None
to requester and log error.log
crate internally in favor of tracing
crate.ethers
version to 2
to fix an issue with tungstenite
.message_proof
.2
to 60
seconds, as suggested in this issue.k256
, s256
and mcpi
instructions.fuel-vm
to v0.42.0
. It introduces transaction policies that changes layout of the transaction. FOr more information check the v0.42.0 release.DependentCost
into "light" and "heavy" operations.ContractId
instead of Address
. The block producer should deploy its contract to receive the transaction fee. The collected fee is zero until the recipient contract is set.Mint
transaction is reworked with new fields to support the account-base model. It affects serialization and deserialization of the transaction and also affects GraphQL schema.Mint
transaction is the last transaction in the block instead of the first.base_chain_height
to da_height
and return current relayer height instead of latest Fuel block height.nonce
instead of message_id
base_asset_id
to the FeeParameters
definition in ConsensusParameters
, as well as default values for base_asset_id
in the beta
and dev
chainspecs.metrics
feature flag from the fuel-core crate, and metrics are now included by default.debug
flag is added to the CLI. The flag should be used for local development only. Enabling debug mode:utxo_validation
to false
.--sync-max-header-batch-requests
CLI argument, and renamed --sync-max-get-txns
to --sync-block-stream-buffer-size
to better represent the current behavior in the import.-
instead of _
.--enable-relayer
, and disabled the Relayer service by default. When supplying the --enable-relayer
flag, the --relayer
argument becomes mandatory, and omitting it is an error. Similarly, providing a --relayer
argument without the --enable-relayer
flag is an error. Lastly, providing the --keypair
or --network
arguments will also produce an error if the --enable-p2p
flag is not set.ConsensusParameters
aggregates all configuration data related to the consensus. It contains many fields that are segregated by the usage. The API of some functions was affected to use lesser types instead the whole ConsensusParameters
. It is a huge breaking change requiring repetitively monotonically updating all places that use the ConsensusParameters
. But during updating, consider that maybe you can use lesser types. Usage of them may simplify signatures of methods and make them more user-friendly and transparent.--network
CLI argument. Now the name of the network is fetched form chain configuration.relayer-da-finalization
parameter from the relayer CLI.DependentCost
for k256
, mcpi
, s256
, scwq
, swwq
opcodes.manual_blocks_enabled
flag is removed from the CLI. The analog is a debug
flag.fuel-vm
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1287
_
in CLI long
arguments with -
by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1290
enable-relayer
flag to fuel-core
CLI by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1279
submit_and_await_commit_with_receipts
method by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1304
env
feature by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1308
webpki
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1319
debug
CLI flag. by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1322
None
to requester and log error by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1342
fuel-vm
to 0.37.0 by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1338
MessageProof
query by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1363
.env
file and duplicated service by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1372
MessageStatus
by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1371
base_chain_height
to da_height
and return current relayer height instead of latest Fuel block height by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1374
DiscoveryEvent
and use KademliaEvent
instead by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1377
ethers
version to 2
to fix an issue with tungstenite
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1390
cargo update
weekly by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1415
cargo update
weekly by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1416
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1417
fuel-core
crates by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1411
scwq
, swwq
and srwq
opcodes by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1427
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1438
#1435
to master
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1440
flush
during end of the FuelService
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1456
main
to master
by @kayagokalp in https://github.com/FuelLabs/fuel-core/pull/1460
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1461
DB::repair
breaks the table for checkpoints by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1463
fuel-vm
to v0.40.0
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1468
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1471
network
parameter from CLI by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1484
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.4...v0.21.0-rc.1
Published by xgreenx 11 months ago
--api-request-timeout
argument to control TTL for GraphQL requests.no_std
compatibility.MessageStatus
for a specific message (by Nonce
)baseAssetId
to FeeParameters
in the GraphQL API.env
feature. This allows users to conveniently supply CLI arguments in a secure and IDE-agnostic way.submit_and_await_commit_with_receipts
method for FuelClient
.ED19
and ECR1
instructions.MemoryTransactionView
by Checkpoint
database in the benchmarks.fuel-vm
to v0.40.0
. It brings some breaking changes into consensus parameters API because of changes in the underlying types.todo
.DiscoveryEvent
and use KademliaEvent
directly in DiscoveryBehavior
.types::ConsensusParameters
in favour of fuel_tx:ConsensusParameters
.estimate_predicates
endpoint to utilize all available threads.None
to requester and log error.log
crate internally in favor of tracing
crate.ethers
version to 2
to fix an issue with tungstenite
.message_proof
.2
to 60
seconds, as suggested in this issue.k256
, s256
and mcpi
instructions.fuel-vm
to v0.42.0
. It introduces transaction policies that changes layout of the transaction. FOr more information check the v0.42.0 release.DependentCost
into "light" and "heavy" operations.ContractId
instead of Address
. The block producer should deploy its contract to receive the transaction fee. The collected fee is zero until the recipient contract is set.Mint
transaction is reworked with new fields to support the account-base model. It affects serialization and deserialization of the transaction and also affects GraphQL schema.Mint
transaction is the last transaction in the block instead of the first.base_chain_height
to da_height
and return current relayer height instead of latest Fuel block height.nonce
instead of message_id
base_asset_id
to the FeeParameters
definition in ConsensusParameters
, as well as default values for base_asset_id
in the beta
and dev
chainspecs.metrics
feature flag from the fuel-core crate, and metrics are now included by default.debug
flag is added to the CLI. The flag should be used for local development only. Enabling debug mode:utxo_validation
to false
.--sync-max-header-batch-requests
CLI argument, and renamed --sync-max-get-txns
to --sync-block-stream-buffer-size
to better represent the current behavior in the import.-
instead of _
.--enable-relayer
, and disabled the Relayer service by default. When supplying the --enable-relayer
flag, the --relayer
argument becomes mandatory, and omitting it is an error. Similarly, providing a --relayer
argument without the --enable-relayer
flag is an error. Lastly, providing the --keypair
or --network
arguments will also produce an error if the --enable-p2p
flag is not set.ConsensusParameters
aggregates all configuration data related to the consensus. It contains many fields that are segregated by the usage. The API of some functions was affected to use lesser types instead the whole ConsensusParameters
. It is a huge breaking change requiring repetitively monotonically updating all places that use the ConsensusParameters
. But during updating, consider that maybe you can use lesser types. Usage of them may simplify signatures of methods and make them more user-friendly and transparent.--network
CLI argument. Now the name of the network is fetched form chain configuration.relayer-da-finalization
parameter from the relayer CLI.DependentCost
for k256
, mcpi
, s256
, scwq
, swwq
opcodes.manual_blocks_enabled
flag is removed from the CLI. The analog is a debug
flag.fuel-vm
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1287
_
in CLI long
arguments with -
by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1290
enable-relayer
flag to fuel-core
CLI by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1279
submit_and_await_commit_with_receipts
method by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1304
env
feature by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1308
webpki
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1319
debug
CLI flag. by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1322
None
to requester and log error by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1342
fuel-vm
to 0.37.0 by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1338
MessageProof
query by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1363
.env
file and duplicated service by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1372
MessageStatus
by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1371
base_chain_height
to da_height
and return current relayer height instead of latest Fuel block height by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1374
DiscoveryEvent
and use KademliaEvent
instead by @MitchTurner in https://github.com/FuelLabs/fuel-core/pull/1377
ethers
version to 2
to fix an issue with tungstenite
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1390
cargo update
weekly by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1415
cargo update
weekly by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1416
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1417
fuel-core
crates by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1411
scwq
, swwq
and srwq
opcodes by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1427
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1438
#1435
to master
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1440
flush
during end of the FuelService
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1456
main
to master
by @kayagokalp in https://github.com/FuelLabs/fuel-core/pull/1460
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1461
DB::repair
breaks the table for checkpoints by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1463
fuel-vm
to v0.40.0
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1468
cargo update
by @github-actions in https://github.com/FuelLabs/fuel-core/pull/1471
network
parameter from CLI by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1484
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.4...v0.21.0-rc.1
Published by xgreenx 12 months ago
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.7...v0.20.8
Published by xgreenx about 1 year ago
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.6...v0.20.7
Published by xgreenx about 1 year ago
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.5...v0.20.6
Published by xgreenx about 1 year ago
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.4...v0.20.5
Published by xgreenx about 1 year ago
Hotfix patch to fuel-core 0.19 to avoid spamming eth rpc when errors occur.
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.19.1...v0.19.2
Published by xgreenx about 1 year ago
Some improvements for the infrastructure.
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.3...v0.20.4
Published by xgreenx about 1 year ago
enable-p2p
flag to fuel-core
CLI by @bvrooman in https://github.com/FuelLabs/fuel-core/pull/1268
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.2...v0.20.3
Published by xgreenx about 1 year ago
The release adds parallel predicate verification and fixes the Receipt
GraphQL serialization bug.
Mint
and Burn
receipts. by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1264
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.20.1...v0.20.2
Published by xgreenx over 1 year ago
The release brings a couple of new breaking changes from the fuel-vm 0.35.0
with bugfixes. Check the description of the VM release for more details.
The fuel-core
release mostly improved the internal codebase but also brought some breaking changes:
Trigger::Hybrid
PoA block trigger mode. Only Trigger::Instante
and Trigger::Interval
are available for block production now. The main mode for testnets and mainnet will be Interval
.OpaqueReceipt
and the Receipt
type doesn't have the raw_payload
field anymore.Receipt
type got two new variants: Mint
and Burn
. The corresponding opcodes emit these new events.AssetId
is derived from ContractId
and additional nonce. So the ContractId
and AssetId
can't be the same anymore.fuel-core
during benches by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1227
CheckedTransaction
from transaction pool in the executor by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1249
fuel-vm
to 0.35.0
version by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1256
0.20.0
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1257
0.20.1
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1259
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.19.1...v0.20.1
Published by xgreenx over 1 year ago
0.17.13
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1222
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.17.12...v0.17.13
Published by xgreenx over 1 year ago
The release updates default gas prices.
fuel-core 0.34.1
with updated gas prices by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1214
0.19.1
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1215
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.19.0...v0.19.1
Published by xgreenx over 1 year ago
The release uses fuel-vm 0.34
that contains many breaking changes from v0.32, v0.33 and v0.34. Please check these releases to have a better understanding of all new features.
This release:
fuel_tx::Transaction
has a estiamte_predicates
method that allows estimating transactions without any queries, and fuel_core_client
provides and additional API endpoint, esitamte_predicates
to the same thing.fuel_core_client
now uses rust-based types instead of cynic
GraphQL types. It should simplify the use of the client and remove work with raw strings.Create
transaction with storage slots.fuel_core_client
provides a new submit_and_await
endpoint that submits the transaction and awaits its status. It removes the chance of missing notifications about the transaction.fuel-core-client
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1175
contract_id
to the ContractConfig
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1184
submit_and_await
endpoint to not miss the notifications by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1192
fuel-vm 0.33
with predicate estimation by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1195
0.19.0
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1211
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.18.3...v0.19.0
Published by xgreenx over 1 year ago
FuelClient::query
public and up version to 0.18.3
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1213
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.18.2...v0.18.3
Published by xgreenx over 1 year ago
fuel-vm 0.31.2
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1203
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.18.1...v0.18.2
Published by xgreenx over 1 year ago
FuelClient::query
public by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1198
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.17.11...v0.17.12
Published by xgreenx over 1 year ago
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.18.0...v0.18.1
Published by xgreenx over 1 year ago
The change bumps the version to 0.18.0
and exposes sync_max_get_header
and sync_max_get_txns
in the helm chart.
A new release brings:
fuel-vm
. We removed almost all unsafe code and added test cases for each opcode. Fixed some edge cases with memory in the fuel-vm
.fuel-crypto
- https://github.com/FuelLabs/fuel-vm/pull/346
$hp
holds the address of the last available byte in a heap, while previously it was $hp - 1
- https://github.com/FuelLabs/fuel-vm/pull/377
fuel_tx::Input
enum now has its own type - https://github.com/FuelLabs/fuel-vm/pull/364
Bytes32
everywhere - https://github.com/FuelLabs/fuel-vm/pull/394
message_id
field from all places - https://github.com/FuelLabs/fuel-vm/pull/397, https://github.com/FuelLabs/fuel-vm/pull/373,BlockHeigh
- https://github.com/FuelLabs/fuel-vm/pull/410
sign
function - https://github.com/FuelLabs/fuel-vm/pull/406
produce_blocks
endpoint to accept the start time and the number of blocks. All new blocks will use the previous timestamp as a base - https://github.com/FuelLabs/fuel-core/pull/1059
fuel-core
stores only unspent coins and messages, so all API that previously returned spent coins is affected - Prune owned coin idx when inputs are spent by @Voxelot in https://github.com/FuelLabs/fuel-core/pull/1055
fuel-core
now has retryable messages and coin messages. Retryable messages can only be consumed during successful transaction execution. The coin message acts as common coins. resouces_to_spend
API was replaced with coins_to_spend
that returns a new CoinType
type. - https://github.com/FuelLabs/fuel-core/pull/1067
BASE_AMOUNT
for test with bob to pay for fee by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1057
dry_run
by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1091
0.17.11
release by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/1158
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.17.3...v0.18.0
Published by xgreenx over 1 year ago
column_key
with an array of hash maps.OptimizedContract
wrapper type. Instead of 53% now it takes only 10% of the time.Vec<u8>
with Arc<Vec<u8>>
to avoid cloning because we use it only for deserialization, and we can't consume the actual Vec<u8>
. It is helpful for MemoryStore
and MemoryTransactionView
.MemoryStore
to use BTreeMap
instead of HashMap
. It significantly improved the performance of the iter_all
without RocksDB
. Without this optimization, a new e2e failed for --no-default-features
build with a timeout(but worked with RocksDB
).PrometheusExtension
to work without the lock.fuel-vm 0.26.3
with disabled logging for instruction
function.tokio_rayon::spawn_fifo
to run dry runs instead of manual semaphore and tokio::spawn_blocking
.For more information check the https://github.com/FuelLabs/fuel-core/pull/1157.
Full Changelog: https://github.com/FuelLabs/fuel-core/compare/v0.17.10...v0.17.11