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

Consensus and fork unit tests #934

Merged
merged 3 commits into from
Jul 19, 2019
Merged

Consensus and fork unit tests #934

merged 3 commits into from
Jul 19, 2019

Conversation

AlexandraRoatis
Copy link
Contributor

Description

  1. Consensus and fork unit tests relating to AKI-183.
  2. Bugfix for incorrect retrieval of transformed code when processing a block on top of a snapshot of the repository: the cached contract details need its parent's transformed code to process the transactions correctly.

Type of change

Insert x into the following checkboxes to confirm (eg. [x]):

  • Bug fix.
  • New feature.
  • Enhancement.
  • Unit test.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

 - The block contains FVM contract deployments and subsequent calls
 that can cause issues if the vm type is not managed properly.
 - The blocks contain the deployment and calls to an FVM contract
 that creates other contracts using internal transactions which are
 also called in these examples.
 - Ensures that if a side-chain block is imported after a main-chain block,
 creating the same contract address X but using different VMs, then each
 chain will operate on the correct VM.
 - Corrected bug where the performed code was not retrieved when using a
 repository snapshot and a contract details cache.
@AlexandraRoatis AlexandraRoatis added bug Something isn't working unit tests labels Jul 17, 2019
@AlexandraRoatis AlexandraRoatis added this to the 0.4.2 milestone Jul 17, 2019
@AlexandraRoatis AlexandraRoatis self-assigned this Jul 17, 2019
@AionJayT
Copy link
Collaborator

LGTM and thanks for the bug fix.

@AlexandraRoatis AlexandraRoatis merged commit 65c61f6 into master-pre-merge Jul 19, 2019
@AlexandraRoatis AlexandraRoatis deleted the AKI-182 branch July 19, 2019 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants