-
Notifications
You must be signed in to change notification settings - Fork 63
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
0.6 spec #273
0.6 spec #273
Conversation
renamed and refactored create_erc20 to create_erc20_at_address renamed and refactored initialize_erc20 to intialize_erc20_at_address
… accept FeeToken enum as parameter
…dress. get_balance method accepts an enum to return corresponding balance. adapted tests
… letters, but starknet_api use serde_rename with uppercase
@DelevoXDG the commits after your comments address the requested changes |
Thanks! |
the next commit will address the execution_resources in FUNCTION_INVOCATION |
…et-rs version doesnt support simulation flags. Ignored one method due to starknet-rs not supporting actual fee as an object in the transaction receipt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the two old comments with this content:
// TODO: in spec RPC response the contract class is missing
be resolved now?
For hash calculation logic, I stopped carefully reviewing it after I realized it's all tested against real transactions and is producing expected hash values.
crates/types/src/rpc/transactions/broadcasted_invoke_transaction_v3.rs
Outdated
Show resolved
Hide resolved
crates/types/src/rpc/transactions/broadcasted_deploy_account_transaction_v3.rs
Outdated
Show resolved
Hide resolved
… only for test mode
No, because this is the reason for this issue #248 . Dump functionality needs refactor |
Usage related changes
0.6.0 RPC spec
Development related changes
not
property to spec readerBroadcastedInvokeTransaction
,BroadcastedDeployAccountTransaction
to be enum with variantsinto_vec
for converting vector of elements to vector of another elements, when From trait is implementedAccounted
trait ->get_balance
to return the balance in the ETH or STRKResourceBoundsMapping
, because according to the specl1_gas
andl2_gas
are lowercase keys, but in theResourceBoundsMapping
map the keys are uppercasesimulation_flags
input parameter toestimate_fee
[ignore]
attribute, because current starknet-rs version doesnt supportsimulation_flags
forestimate_fee
- Many ignored methods #274Checklist:
./scripts/format.sh
./scripts/clippy_check.sh
./scripts/check_unused_deps.sh
cargo test