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

Hide Default params under the "test-helper" feature #708

Merged
merged 16 commits into from
Mar 25, 2024

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Mar 25, 2024

Hidden Default params under the "test-helper" feature to avoid accidental use in production code. It is a huge breaking change for any code that has used them before in production, and instead, it should be fetched from the network. In the case of tests simply use the "test-helper" feature in your [dev-dependencies] section.

Renamed builder feature into test-helpers.

Follow-up from #702 (comment).

xgreenx and others added 14 commits March 21, 2024 07:37
Reduced default `MAX_SIZE` to be 110kb.
Reduced default `MAX_CONTRACT_SIZE` to be 100kb.
# Conflicts:
#	CHANGELOG.md
#	fuel-tx/src/builder.rs
#	fuel-tx/src/tests/valid_cases/transaction.rs
#	fuel-tx/src/transaction/consensus_parameters.rs
#	fuel-vm/src/checked_transaction.rs
#	fuel-vm/src/tests/limits.rs
#	fuel-vm/src/tests/validation.rs
# Conflicts:
#	fuel-tx/src/transaction/consensus_parameters.rs
#	fuel-vm/src/tests/validation.rs
# Conflicts:
#	fuel-tx/src/transaction/consensus_parameters.rs
#	fuel-tx/src/transaction/types/script.rs
#	fuel-vm/src/interpreter.rs
@xgreenx xgreenx requested a review from a team March 25, 2024 16:04
@xgreenx xgreenx self-assigned this Mar 25, 2024
@xgreenx xgreenx requested a review from Dentosal March 25, 2024 16:13
@xgreenx xgreenx added this pull request to the merge queue Mar 25, 2024
Merged via the queue into master with commit c876027 Mar 25, 2024
38 checks passed
@xgreenx xgreenx deleted the feature/hide-default-params-under-the-feature branch March 25, 2024 18:30
@xgreenx xgreenx mentioned this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants