Gerson
Gerson
I am applying to this issue via [OnlyDust platform](https://app.onlydust.com/p/mev-rs). ### My background and how it can be leveraged I'm a junior software developer from the Dojo Coding community with contributions...
@tdelabro I just updated the PR sir.
In the code I'm seeing some tests related to strk and eth fees, i have to do something like that? Or is already tested?
I'm working in this test: ```` #[test] fn declare_transaction_v3_then_it_works() { new_test_ext::().execute_with(|| { basic_test_setup(2); let chain_id = Starknet::chain_id(); let none_origin = RuntimeOrigin::none(); let contract_class = get_contract_class("HelloStarknet.casm.json", 1); let contract_class_hash = ClassHash(...
In `declare_transaction_v3_then_it_works()` I'm having problems because I'm running out of gas. And in the `deploy_transaction_v3_then_it_works()` test i found that i need to first declare the transactions, and then we have...
> @Gerson2102 the test you added are failing Than you so much for ur guidance so far sir. Still working on it.
This is the error that I'm getting on the last test in `declare_tx.rs` file: ```` failures: ---- tests::declare_tx::given_contract_declare_tx3_than_works stdout ---- thread 'tests::declare_tx::given_contract_declare_tx3_than_works' panicked at crates/pallets/starknet/src/tests/declare_tx.rs:63:97: called `Result::unwrap()` on an `Err`...
I dont know which address should I use for the compiled class hash: ```` let compiled_erc20_class_hash = CompiledClassHash( StarkFelt::try_from("0x00df4d3042eec107abe704619f13d92bbe01a58029311b7a1886b23dcbb4ea87").unwrap(), ); ```` I put it different because i was looking at...
Now im getting an error related to the gas amount: ```` Transaction execution failed: FeeCheckError(MaxL1GasAmountExceeded { max_amount: 10000, actual_amount: 136824 }) thread 'tests::declare_tx::given_contract_declare_tx3_than_works' panicked at crates/pallets/starknet/src/tests/declare_tx.rs:458:9: Expected Ok(_). Got Err(...
@tdelabro I think I'm done sir. I'm just trying to fix the CI issues.