Skip to content

Commit

Permalink
next steps in weight to fee
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena committed Nov 6, 2023
1 parent a9b927a commit 60de773
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion assets/Weight to Fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,12 @@ In `polkadot-sdk/substrate/frame/contracts/src/wasm/runtime.rs`, there are 2 fun
)?)
}
```
Where the first one has a hardcoded zero. Is that intentional as "working as intended", or is that a workaround for something else?
Where the first one has a hardcoded zero. Is that intentional as "working as intended", or is that a workaround for something else?

## Next Steps

- Make the gas value in e2e the same as in integration tests
- 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.

0 comments on commit 60de773

Please sign in to comment.