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

Removed bytecode_length from the Create transaction #709

Merged
merged 28 commits into from
Mar 26, 2024

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Mar 26, 2024

xgreenx and others added 25 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
…ansaction

# Conflicts:
#	fuel-tx/src/transaction/types/script.rs
#	fuel-vm/src/interpreter.rs
@xgreenx xgreenx requested a review from a team March 26, 2024 08:14
@xgreenx xgreenx self-assigned this Mar 26, 2024
xgreenx added a commit to FuelLabs/fuel-specs that referenced this pull request Mar 26, 2024
…om the witness (#563)

Corresponding change on VM side
FuelLabs/fuel-vm#709.

Removed the `bytecodeLength` field since this information is available
from the witness. The transaction still will be unique and unchanged
because of the `contract_id` from `Output::ContractCreated`.
Dentosal
Dentosal previously approved these changes Mar 26, 2024
Copy link
Member

@Dentosal Dentosal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was always wondering why we have this. No more.

Base automatically changed from feature/chargeable-transaction to master March 26, 2024 16:30
@xgreenx xgreenx dismissed Dentosal’s stale review March 26, 2024 16:30

The base branch was changed.

# Conflicts:
#	CHANGELOG.md
#	fuel-tx/src/builder.rs
#	fuel-tx/src/transaction.rs
#	fuel-tx/src/transaction/id.rs
#	fuel-tx/src/transaction/types/create.rs
@xgreenx xgreenx requested review from Dentosal and a team March 26, 2024 18:57
@xgreenx xgreenx added this pull request to the merge queue Mar 26, 2024
Merged via the queue into master with commit f4baeaf Mar 26, 2024
38 checks passed
@xgreenx xgreenx deleted the feature/removed-bytecode-length-field branch March 26, 2024 19:14
@Qinlan7
Copy link

Qinlan7 commented Mar 27, 2024

I was always wondering why we have this. No more.

Please add me

@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.

4 participants