Skip to content

Commit

Permalink
fix: clarification on "gas" term usage
Browse files Browse the repository at this point in the history
  • Loading branch information
julio4 committed Jul 26, 2023
1 parent 3f336fa commit 6c05b30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ch00-15-contract-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Each test is defined as a function with the `#[test]` attribute. You can also ch

As we are in the context of a smart contract, it's essential to set up the gas limit. You do this by using the `#[available_gas(X)]` attribute to specify the gas limit for a test. This is also a great way to ensure that your contract's features stay under a certain gas limit!

> Note: The term "gas" here refers to Sierra gas, not L1 gas
Now, let's move on to the testing process:
- Use the `deploy` function logic to declare and deploy your contract.
- Use `assert` to verify that the contract behaves as expected in the given context.
Expand Down

0 comments on commit 6c05b30

Please sign in to comment.