Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Decoding Error when running Ganache 2.5.4 on darwin #4580

Open
Jac21 opened this issue May 8, 2022 · 0 comments
Open

Decoding Error when running Ganache 2.5.4 on darwin #4580

Jac21 opened this issue May 8, 2022 · 0 comments

Comments

@Jac21
Copy link

Jac21 commented May 8, 2022

Created a new workspace in Ganache on a MacBook Pro M1 Max, macOS Monterey 12.3.1, utilizing my project's truffle.config.js file. Received the below exception when attempting to open a custom contract being developed for this project.

Relevant NPM dependencies and their associated versions -

"@openzeppelin/contracts": "^4.3.2",
"@truffle/contract": "^4.3.39",
"@truffle/hdwallet-provider": "^1.6.0",

The header of the contract that was involved in this exception -

pragma solidity ^0.8.4;

PLATFORM: darwin
GANACHE VERSION: 2.5.4

EXCEPTION:

UnknownBaseContractIdError: Cannot locate base contract ID 1654$ of contract$ Butlers (ID 2896)
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/@truffle/decoder/lib/allocate/storage.ts:181:13
    at Array.map (<anonymous>)
    at allocateContract (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/@truffle/decoder/lib/allocate/storage.ts:178:59)
    at Object.getStorageAllocations (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/@truffle/decoder/lib/allocate/storage.ts:23:19)
    at TruffleContractDecoder.<anonymous> (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/@truffle/decoder/lib/interface/contract-decoder.ts:237:39)
    at Generator.next (<anonymous>)
    at fulfilled (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/@truffle/decoder/dist/interface/contract-decoder.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
@MicaiahReid MicaiahReid transferred this issue from trufflesuite/ganache May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant