Conversation
kariy
approved these changes
Jan 22, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #399 +/- ##
==========================================
- Coverage 73.32% 66.51% -6.81%
==========================================
Files 209 273 +64
Lines 23132 32961 +9829
==========================================
+ Hits 16961 21924 +4963
- Misses 6171 11037 +4866 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tarrencev
commented
Jan 27, 2026
81be2d3 to
ab2b31b
Compare
478f6da to
98a836b
Compare
- Update build.rs to use asdf for scarb version management, allowing different scarb versions per directory via .tool-versions files - Add VRF contracts compilation and artifact copying to build script - Add doc comments with full hex strings for HASH and CASM_HASH constants in the contract! macro - Add vrf module with CartridgeVrfProvider, CartridgeVrfConsumer, and CartridgeVrfAccount contracts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…efinitions - Add avnu-labs/paymaster as git submodule at v1.0.0 - Update build.rs to build AVNU contracts with scarb via asdf - Add avnu module with AvnuForwarder contract to katana-contracts - Update controller and cartridge crates to use contracts from katana-contracts instead of include_str! with JSON files - Remove classes/ directory from controller (all contract artifacts now come from katana-contracts crate) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use ASDF_SCARB_VERSION env var to explicitly set scarb 2.11.4 for AVNU contracts, since the submodule doesn't have a .tool-versions file. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use `asdf exec scarb` for version management, build all three contract sets (main, VRF, AVNU) and copy artifacts to the shared build directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #417
Adds sidecar integration for
paymaster-serviceandvrf-server, including CLI/config flags, bootstrap, VRF wrapping in cartridge outside execution, and paymaster profile generation with Avnu pricing. Removes custom katana paymaster/VRF crates, updates Docker to install sidecar binaries from.tool-versions, refreshes spec, trims the release workflow, derives a u64 VRF secret from the configured account key forvrf-servercompatibility, and fixes paymaster/VRF CLI arg ids/defaults to avoid startup crashes. Adds unit tests for sidecar helpers and VRF seed/parsing to improve coverage. Tests:cargo check -p katana-node --features cartridge,cargo test -p katana-node --features cartridge,cargo test -p katana-rpc-server --features cartridge --lib,cargo test -p katana-rpc-server --features cartridge --test paymaster_proxy,cargo test -p katana-cli --features cartridge.Paymaster service: https://github.com/avnu-labs/paymaster/tree/main/crates/paymaster-service
VRF Service: https://github.com/cartridge-gg/vrf/tree/main/server