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

feat: map permission and permissions docs section #436

Merged
merged 7 commits into from
May 21, 2024
Prev Previous commit
Next Next commit
test: add extra test case for encoding number 0 as uintN
  • Loading branch information
CJ42 committed May 17, 2024
commit 63016d63997f3559b4b5f32199ad2af1dc4fde06
5 changes: 5 additions & 0 deletions src/lib/encoder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@ describe('encoder', () => {
decodedValue: 11,
encodedValue: '0x0000000000000000000000000000000b',
},
{
valueType: 'uint128',
decodedValue: 0,
encodedValue: '0x00000000000000000000000000000000',
},
];

validTestCases.forEach((testCase) => {
Expand Down