ava-labs/avalanche-docs

Typos in the Hello World Precompile Tutorial

cgcardona opened this issue · 1 comments

Bug Description

While working through the Hello World Precompile Tutorial I ran into several bugs. They're mostly typos or path issues. Below is a list of issues to be fixed.

List of Bugs

  1. Path issue. The docs say ./contract-examples/contracts/ but the actual path is ./contracts/contracts/.
  2. Undefined variables in contract.go. storageKeyHash and ErrInputExceedsLimit.
  3. Typo on function name. contract.deductGas should be contract.DeductGas.
  4. Typo in tests. utils.ExecuteHardHatTestOnNewBlockchain should be utils.RunDefaultHardhatTests.
  5. Need to install the npm packages which isn’t in the docs.
  6. Confirm that you're running the most recent version of ANR .

Is this still an issue in the docs or has it been resolved: @ceyonur @cgcardona