Test: support for Chopsticks fake signature
What does it do?
This feature is still to be implemented and supported in choptsticks, once ready, this test should pass.
Tests support for chopsticks fake signatures
[!IMPORTANT]
Review skipped
Auto reviews are limited based on label configuration.
:label: Required labels (at least one) (1)
- agent-review
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
✨ Finishing touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
- [ ] Commit unit tests in branch
rq/support-fake-signature-in-chopsticks
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
WASM runtime size check:
Compared to target branch
Moonbase runtime: 1992 KB (no changes) ✅
Moonbeam runtime: 2104 KB (no changes) ✅
Moonriver runtime: 2104 KB (no changes) ✅
Compared to latest release (runtime-3900)
Moonbase runtime: 1992 KB (-368 KB compared to latest release) ✅
Moonbeam runtime: 2104 KB (-376 KB compared to latest release) ✅
Moonriver runtime: 2104 KB (-376 KB compared to latest release) ✅
why not just use moonwall's built in chopsticks helpers?: https://github.com/Moonsong-Labs/moonwall/blob/d25dd555bb1fb2802f394cba70714d66903beaf6/test/suites/chopsticks/test-chopsticks-basic.ts#L87
(fake signature helpers are pure functions so should be able to work with chopsticks instance managed by moonwall)
why not just use moonwall's built in chopsticks helpers?: https://github.com/Moonsong-Labs/moonwall/blob/d25dd555bb1fb2802f394cba70714d66903beaf6/test/suites/chopsticks/test-chopsticks-basic.ts#L87
(fake signature helpers are pure functions so should be able to work with chopsticks instance managed by moonwall)
This is purely experimental for now, moonwall is usually enough for most things, but for example when you want to other capabilities of chopsticks, like https://github.com/AcalaNetwork/chopsticks?tab=readme-ov-file#dry-run, it does not support it.