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

ESDT improvements chain simulator tests and fixes #6194

Merged
merged 37 commits into from
Jun 11, 2024

Conversation

ssd04
Copy link
Contributor

@ssd04 ssd04 commented May 21, 2024

Reasoning behind the pull request

  • Reference vm common fix
  • Integration tests with chain simulator

Testing procedure

  • Standard system test

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@ssd04 ssd04 self-assigned this May 21, 2024
// 8. check that the metaData for the NFT was removed from the system account and moved to the user account
// 9. check that the metaData for the rest of the tokens is still present on the system account and not on the userAccount
// 10. do the test for both intra and cross shard txs
func TestChainSimulator_CheckTokensMetadata_TransferTokens(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Repeat these tests for MultiESDTNFTTransfer also

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added also tests with MultiESDTNFTTransfer

@ssd04 ssd04 marked this pull request as ready for review June 6, 2024 13:02
@ssd04 ssd04 changed the title ESDT improvements chain simulator tests ESDT improvements chain simulator tests and fixes Jun 10, 2024
Copy link
Contributor

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

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

Normal allin test: 1.7.12-2a6916fbce -> esdt-improvements-integrat-a3556df3a8

--- Specific errors ---

block hash does not match 1833
wrong nonce in block 772
miniblocks does not match 0
num miniblocks does not match 0
miniblock hash does not match 0
block bodies does not match 0
receipts hash missmatch 0

/------/

--- Statistics ---

Nr. of all ERRORS: 0
Nr. of all WARNS: 529
Nr. of new ERRORS: 0
Nr. of new WARNS: 0
Nr. of PANICS: 0

/------/

--- ERRORS ---

/------/

--- WARNINGS ---

/------/

@ssd04 ssd04 merged commit 90cdd70 into rc/v1.7.next1 Jun 11, 2024
8 checks passed
@ssd04 ssd04 deleted the esdt-improvements-integration-tests branch June 11, 2024 12:48
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