Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoBeccar authored Nov 6, 2023
1 parent 60de773 commit d73d9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/Weight to Fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async fn end_to_end_weigth_to_fee_1(mut client: ink_e2e::Client<C, E>) -> E2ERes

This behavior is seen in the local development node too, but not in testnets like Aleph Zero testnet.

Looking at the runtime in `polkadot-sdk`, we found a few implementations of the functions, but modifying them didn't changed the outcome of the tests as predicted.
Looking at the runtime in `polkadot-sdk`, we found a few implementations of the functions, but modifying them didn't change the outcome of the tests as predicted.
The functions that we modified to check if something changed were:

1) `polkadot-sdk/substrate/frame/contracts/src/exec.rs`, the `get_weight_price()` function.
Expand Down Expand Up @@ -133,4 +133,4 @@ Where the first one has a hardcoded zero. Is that intentional as "working as int
- Make a setter like `env().setGasPrice(...)` to set the value in the tests (with a default value)
- Make the gas value an arbitrary X and document it.

Any of this decisions should be properly documented.
Any of this decisions should be properly documented.

0 comments on commit d73d9f9

Please sign in to comment.