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

System Error when running Ganache 2.5.4 on darwin #4787

Open
nitesh-jeeves opened this issue Jul 12, 2022 · 0 comments
Open

System Error when running Ganache 2.5.4 on darwin #4787

nitesh-jeeves opened this issue Jul 12, 2022 · 0 comments

Comments

@nitesh-jeeves
Copy link

PLATFORM: darwin
GANACHE VERSION: 2.5.4

EXCEPTION:

Error: Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: 0
    at Object.exports.toBuffer (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/ethereumjs-util/src/bytes.ts:78:15)
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/lib/blockchain_double.js:1070:20
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/lib/database/blockserializer.js:45:9
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/async/dist/async.js:473:16
    at replenish (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/async/dist/async.js:1006:25)
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/async/dist/async.js:1016:9
    at eachLimit$1 (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/async/dist/async.js:3196:24)
    at Object.<anonymous> (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/async/dist/async.js:1046:16)
    at Object.decode (/Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/lib/database/blockserializer.js:29:11)
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/lib/database/leveluparrayadapter.js:40:21
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/level-sublevel/shell.js:102:12
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/level-sublevel/nut.js:122:19
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/encoding-down/index.js:57:5
    at /Applications/Ganache.app/Contents/Resources/static/node/node_modules/ganache-core/node_modules/cachedown/index.js:53:7
    at processTicksAndRejections (internal/process/task_queues.js:75:11)
@davidmurdoch davidmurdoch transferred this issue from trufflesuite/ganache Jul 12, 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