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

standalone-quests\unordered-key-set - Fix tests or task #1

Open
ParadoxMH opened this issue Feb 28, 2023 · 0 comments
Open

standalone-quests\unordered-key-set - Fix tests or task #1

ParadoxMH opened this issue Feb 28, 2023 · 0 comments

Comments

@ParadoxMH
Copy link

In the quest unordered-key-set 1st task is to create a Struct with the following properties:

uint id
uint32 size
uint32 strength

But the Crates1.test.js data expects to set size property with a value which is bigger than uint32. As a result, you can't pass these tests.

So I see 2 options to fix this:

  1. Extend the size property up to uint256
    OR
  2. Fix test data (use smaller numbers)

Please, advice what option is better for you. I'll be happy to prepare a PR :)

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

No branches or pull requests

1 participant