We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Structs used in contract calls, but not in any models, are not being exported.
To Reproduce
Generate typescript bindgens for a contract with a call like this... ( from pistols/fools branch)
// https://github.com/underware-gg/pistols/blob/fools/dojo/src/systems/game.cairo use pistols::types::rules::{RewardValues}; #[starknet::interface] pub trait IGame<TState> { // ... fn calc_season_reward(self: @TState, table_id: felt252, duelist_id: u128, lives_staked: u8) -> RewardValues; // ... } // https://github.com/underware-gg/pistols/blob/fools/dojo/src/systems/bank.cairo use pistols::models::pool::{PoolType, LordsReleaseBill}; #[starknet::interface] pub trait IBank<TState> { // ... fn release_lords_from_fame_to_be_burned(ref self: TState, bills: Span<LordsReleaseBill>) -> u128; // ... }
Expected behavior The structs RewardValues and LordsReleaseBill should be exported to typescript.
RewardValues
LordsReleaseBill
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Structs used in contract calls, but not in any models, are not being exported.
To Reproduce
Generate typescript bindgens for a contract with a call like this...
( from pistols/fools branch)
Expected behavior
The structs
RewardValues
andLordsReleaseBill
should be exported to typescript.The text was updated successfully, but these errors were encountered: