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

Release v0.40.0 #621

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Release v0.40.0 #621

merged 1 commit into from
Oct 31, 2023

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Oct 31, 2023

Version 0.40.0

Added

  • #607: Added ECAL instruction support.

Changed

  • #612: Reduced the memory consumption in all places where we calculate BMT root.
  • #615: Made ReceiptsCtx of the VM modifiable with test-helpers feature.

Breaking

  • #618: Transaction fees for Create now include the cost of metadata calculations, including: contract root calculation, state root calculation, and contract id calculation.
  • #613: Transaction fees now include the cost of signature verification for each input. For signed inputs, the cost of an EC recovery is charged. For predicate inputs, the cost of a BMT root of bytecode is charged.
  • #607: The Interpreter expects the third generic argument during type definition that specifies the implementer of the EcalHandler trait for ecal opcode.
  • #609: Checked transactions (Create, Script, and Mint) now enforce a maximum size. The maximum size is specified by MAX_TRANSACTION_SIZE in the transaction parameters, under consensus parameters. Checking a transaction above this size raises CheckError::TransactionSizeLimitExceeded.
  • #617: Makes memory outside $is..$ssp range not executable. Separates ErrorFlag into InvalidFlags, MemoryNotExecutable and InvalidInstruction. Fixes related tests.
  • #619: Avoid possible truncation of higher bits. It may invalidate the code that truncated higher bits causing different behavior on 32-bit vs. 64-bit systems.

What's Changed

Full Changelog: v0.39.0...v0.40.0

@xgreenx xgreenx requested a review from a team October 31, 2023 17:22
@xgreenx xgreenx self-assigned this Oct 31, 2023
@xgreenx xgreenx added this pull request to the merge queue Oct 31, 2023
Merged via the queue into master with commit f77ef3e Oct 31, 2023
37 checks passed
@xgreenx xgreenx deleted the release/v0.40.0 branch October 31, 2023 18:02
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