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

Fixing NewCollection Event and Updating Tests #127

Closed
wants to merge 1 commit into from

Conversation

asiniscalchi
Copy link
Member

@asiniscalchi asiniscalchi commented Oct 27, 2023

PR Type:

Bug fix


PR Description:

This PR fixes the NewCollection event in the LaosEvolution module by changing the log3 method to log2 and adjusting the parameters accordingly. It also updates the corresponding tests to reflect these changes.


PR Main Files Walkthrough:

files:

evolution-chain/precompile/laos-evolution/src/lib.rs: The log3 method in the create_collection function has been changed to log2. The parameters have been adjusted accordingly, with the collection_id now being written using the EvmDataWriter.
evolution-chain/precompile/laos-evolution/src/tests.rs: The tests have been updated to reflect the changes in the NewCollection event. The mock data used in the create_collection_should_generate_log test has been updated, and the assertions have been adjusted to match the new log2 method.

@asiniscalchi asiniscalchi marked this pull request as ready for review October 27, 2023 14:05
@asiniscalchi
Copy link
Member Author

/describe

@github-actions github-actions bot changed the title fix NewCollection event Fixing NewCollection Event and Updating Tests Oct 27, 2023
@asiniscalchi asiniscalchi deleted the bug/use_data_field branch October 31, 2023 06:55
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.

1 participant