Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

_verifyTerminatedStateAccountsCommon doesn't need to be inside loop #9079

Conversation

sitetester
Copy link
Contributor

@sitetester sitetester commented Oct 10, 2023

What was the problem?

This PR resolves #8998

How was it solved?

Bug fixed & genesis block updated

Steps to update genesis block:

  • cd lisk-sdk/examples/interop/pos-mainchain-fast
  • ./bin/run genesis-block:create --output config/default/ --assets-file config/default/genesis_assets.json
  • ./bin/run start --api-ipc --api-http --port 9001

Debugging tips:

  • To remove existing app rm -rf ~/.lisk/pos-mainchain-fast
  • To allow HTTP communication (via, e.g., postman)
nano ~/.lisk/pos-mainchain-fast/config/config.json
"rpc": {
        "modes": ["ipc", "ws", "http"],
        "allowedMethods": ["*"]
},

How was it tested?

Relevant test added

@sitetester sitetester self-assigned this Oct 10, 2023
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release/6.0.0@6fc44ea). Click here to learn what that means.
The diff coverage is 100.00%.

❗ Current head 0ba0c9e differs from pull request most recent head 483bb95. Consider uploading reports for the commit 483bb95 to get more accurate results

Impacted file tree graph

@@               Coverage Diff                @@
##             release/6.0.0    #9079   +/-   ##
================================================
  Coverage                 ?   83.46%           
================================================
  Files                    ?      604           
  Lines                    ?    22796           
  Branches                 ?     3365           
================================================
  Hits                     ?    19027           
  Misses                   ?     3769           
  Partials                 ?        0           
Files Coverage Δ
...s/interoperability/base_interoperability_module.ts 99.21% <100.00%> (ø)
...k/src/modules/interoperability/mainchain/module.ts 93.49% <100.00%> (ø)
...k/src/modules/interoperability/sidechain/module.ts 95.32% <100.00%> (ø)

Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

@sitetester sitetester requested a review from ishantiw October 11, 2023 16:59
@sitetester sitetester requested a review from gkoumout October 12, 2023 15:53
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

@sitetester sitetester requested a review from ishantiw October 13, 2023 09:39
Copy link

@gkoumout gkoumout left a comment

Choose a reason for hiding this comment

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

Very nice, good job! Approved, with an optional small improvement suggestion.

@sitetester sitetester requested a review from gkoumout October 13, 2023 10:12
Copy link

@gkoumout gkoumout left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

Good work @sitetester 👏

sitetester and others added 4 commits October 17, 2023 17:57
…de-loop' of github.com:LiskHQ/lisk-sdk into 8998-verifyTerminatedStateAccountsCommon-is-called-inside-loop
@ishantiw ishantiw enabled auto-merge (squash) October 18, 2023 08:02
@ishantiw ishantiw merged commit da03f11 into release/6.0.0 Oct 18, 2023
8 checks passed
@ishantiw ishantiw deleted the 8998-verifyTerminatedStateAccountsCommon-is-called-inside-loop branch October 18, 2023 08:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants