-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Release v0.21.0 for beta 5 #1513
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xgreenx
commented
Nov 23, 2023
}, | ||
}; | ||
|
||
struct TestContext { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simply moved it from the fuel-core-chain-config
crate
@@ -25,13 +25,10 @@ serde_with = "1.11" | |||
tracing = "0.1" | |||
|
|||
[dev-dependencies] | |||
fuel-core = { workspace = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It causes cycle dependencies during publishing rust-lang/cargo#4242.
bvrooman
reviewed
Nov 24, 2023
bvrooman
approved these changes
Nov 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 0.21.0
This release focuses on preparing
fuel-core
for the mainnet environment:Besides that, there are more concrete changes:
--debug
flag that enables additional functionality like a debugger.Mint
transaction to accumulate the fee from block production inside the contract defined by the block producer.FuelVM received a lot of safety and stability improvements:
no_std
and 32 bit system support. This opens doors for fraud proving in the future.ChainId
from thePredicateId
calculation, allowing the use of predicates cross-chain.ECAL
instruction that allows adding custom functionality to the VM. It can be used to create unique rollups or advanced indexers in the future.It also allows the implementation of a multi-dimensional price model in the future, making the transaction execution cheaper and allowing more transactions that don't affect storage.
Added
gtf
opcode sanity check.vm_initialization
.--api-request-timeout
argument to control TTL for GraphQL requests.no_std
compatibility.MessageStatus
for a specific message (byNonce
).baseAssetId
toFeeParameters
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 forFuelClient
.ED19
andECR1
instructions.Changed
MemoryTransactionView
byCheckpoint
database in the benchmarks.fuel-vm
tov0.40.0
. It brings some breaking changes into consensus parameters API because of changes in the underlying types.k256
,s256
andmcpi
instructions.2
to60
seconds, as suggested in this issue.message_proof
.ethers
version to2
to fix an issue withtungstenite
.log
crate internally in favor oftracing
crate.todo
.DiscoveryEvent
and useKademliaEvent
directly inDiscoveryBehavior
.None
to requester and log error.types::ConsensusParameters
in favour offuel_tx:ConsensusParameters
.It simplifies the maintenance and updating of the events, requiring only putting the event definition into the codebase of the relayer.
estimate_predicates
endpoint to utilize all available threads.Breaking
ConsensusVote
andNewBlock
events.fuel-vm
tov0.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 ofAddress
. 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
toda_height
and return current relayer height instead of latest Fuel block height.nonce
instead ofmessage_id
metrics
feature flag from the fuel-core crate, and metrics are now included by default.base_asset_id
to theFeeParameters
definition inConsensusParameters
, as well as default values forbase_asset_id
in thebeta
anddev
chain specifications.The
debug
flag is added to the CLI. The flag should be used for local development only. Enabling debug mode:- Allows GraphQL Endpoints to arbitrarily advance blocks.
- Enables debugger GraphQL Endpoints.
- Allows setting
utxo_validation
tofalse
.--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 wholeConsensusParameters
. It is a huge breaking change requiring repetitively monotonically updating all places that use theConsensusParameters
. 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.Removed
Breaking
--network
CLI argument. Now the name of the network is fetched form chain configuration.relayer-da-finalization
parameter from the relayer CLI.DependentCost
fork256
,mcpi
,s256
,scwq
,swwq
opcodes.manual_blocks_enabled
flag is removed from the CLI. The analog is adebug
flag.What's Changed
fuel-vm
by @xgreenx in Added changelog in the same way as we did forfuel-vm
#1287_
in CLIlong
arguments with-
by @MitchTurner in Replace all instances of_
in CLIlong
arguments with-
#1290enable-relayer
flag tofuel-core
CLI by @bvrooman in feat: Addenable-relayer
flag tofuel-core
CLI #1279submit_and_await_commit_with_receipts
method by @xgreenx in Implementedsubmit_and_await_commit_with_receipts
method #1304env
feature by @bvrooman in feat: Enable .env file loading usingenv
feature #1308webpki
by @xgreenx in Fix audit CI forwebpki
#1319debug
CLI flag. by @xgreenx in Added support fordebug
CLI flag. #1322None
to requester and log error by @MitchTurner in Add error handling for P2P requests to returnNone
to requester and log error #1342fuel-vm
to 0.37.0 by @bvrooman in chore: Upgradefuel-vm
to 0.37.0 #1338MessageProof
query by @MitchTurner in Replace message_id with nonce inMessageProof
query #1363.env
file and duplicated service by @xgreenx in Use right level of error for.env
file and duplicated service #1372MessageStatus
by @MitchTurner in Add query and handling forMessageStatus
#1371base_chain_height
toda_height
and return current relayer height instead of latest Fuel block height by @xgreenx in Renamedbase_chain_height
toda_height
and return current relayer height instead of latest Fuel block height #1374DiscoveryEvent
and useKademliaEvent
instead by @MitchTurner in RemoveDiscoveryEvent
and useKademliaEvent
instead #1377ethers
version to2
to fix an issue withtungstenite
by @xgreenx in Up theethers
version to2
to fix an issue withtungstenite
#1390cargo update
weekly by @xgreenx in Updated CI to runcargo update
weekly #1415cargo update
weekly by @xgreenx in CIcargo update
weekly #1416cargo update
by @github-actions in Weeklycargo update
#1417fuel-core
crates by @bvrooman in feat: Support no_std and WASM compilation forfuel-core
crates #1411scwq
,swwq
andsrwq
opcodes by @xgreenx in Update benchmarking and collecting forscwq
,swwq
andsrwq
opcodes #1427cargo update
by @github-actions in Weeklycargo update
#1438#1435
tomaster
by @xgreenx in Applying#1435
tomaster
#1440flush
during end of theFuelService
by @xgreenx in Callflush
during end of theFuelService
#1456main
tomaster
by @kayagokalp in chore: fix releasy test tracking branch frommain
tomaster
#1460cargo update
by @github-actions in Weeklycargo update
#1461DB::repair
breaks the table for checkpoints by @xgreenx inDB::repair
breaks the table for checkpoints #1463fuel-vm
tov0.40.0
by @xgreenx in Bumpingfuel-vm
tov0.40.0
#1468cargo update
by @github-actions in Weeklycargo update
#1471network
parameter from CLI by @bvrooman in chore: Removenetwork
parameter from CLI #1484cargo update
by @github-actions in Weeklycargo update
#1498vm_initialization
by @xgreenx in Added price benchmark forvm_initialization
#1502gtf
opcode by @MitchTurner in Sanity-checkgtf
opcode #1503New Contributors
cargo update
#1417Full Changelog: v0.20.8...v0.21.0