You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
I opened Ganache, create a quick network, all default. Did deploy via Truffle (contract below). Called a function via truffle console (receive the tx receipt). Clicked on the new block on Ganache and when I click on the last transaction, the error occur. It happened three times in a row.
PLATFORM: darwin
GANACHE VERSION: 2.5.4
EXCEPTION:
TypeError: Cannot read property 'stack' of undefined
at IpcMainImpl.<anonymous> (/webpack:/src/integrations/ethereum/index.js:96:31)
I opened Ganache, create a quick network, all default. Did deploy via Truffle (contract below). Called a function via truffle console (receive the tx receipt). Clicked on the new block on Ganache and when I click on the last transaction, the error occur. It happened three times in a row.
PLATFORM: darwin
GANACHE VERSION: 2.5.4
EXCEPTION:
My contract:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
contract BookDatabase {
struct Book {
string title;
uint16 year;
}
}
My migration:
const BookDatabase = artifacts.require("BookDatabase");
module.exports = function(deployer) {
deployer.deploy(BookDatabase);
};
The commands on truffle console:
truffle console
let contract = await BookDatabase.deployed();
contract.addBook({title: "Book 1", year: 2022});
The text was updated successfully, but these errors were encountered: