Skip to content

Lesson 7: yarn hardhat deploy --tags mocks -> returns error [SOLVED] #230

Discussion options

You must be logged in to vote

@Magofoco Solved it! Solution below. Thank you for the input, much appreciated!

Solved by editing abi in the MockV3Aggregator.json file located in artefacts

artefacts > tests > MockV3Aggregator > MockV3Aggregator.json

  "abi": [
    {
      "type": "constructor",
      "payable": false,
      "inputs": [
        {
          "type": "uint8",
          "name": "decimals"
        },
        {
          "type": "int256",
          "name": "initialAnswer"
        }
      ]
    },

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@DorianDaSilva
Comment options

@Magofoco
Comment options

Comment options

You must be logged in to vote
2 replies
@Magofoco
Comment options

@DorianDaSilva
Comment options

Comment options

You must be logged in to vote
1 reply
@DorianDaSilva
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DorianDaSilva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants