300 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
41
views
AbiError: Parameter decoding error: Returned values aren't valid, did it run Out of Gas?
I'm trying to test my smart contract using ganache provider and mocha but seeing this error.
AbiError: Parameter decoding error: Returned values aren't valid, did it run Out of Gas? You might also see ...
0
votes
1
answer
91
views
Smart contract is not deployed in my current network?
I'm new to blockchain. I setup a ganache network, added it to metamask. I'm trying to start an npm server and it works. On npm start, I'm being redirected to localhost:3000, where there are 4 options. ...
0
votes
0
answers
29
views
Solidity Contract Call Reverting with No Reason via Web3.py – How Can I Diagnose This?
I’m developing a blockchain-based forensic evidence system using Solidity (deployed via Hardhat/Ganache), a Python Flask backend, and Web3.py. My smart contract is designed to store evidence details (...
0
votes
0
answers
40
views
How can I connect ThirdWebProvider to my local ganache network?
So, currently I'm working on a project that use thirdweb library to implement inAppWallets in the web application. I have no current experience working with blockchain , so this is kinda like a ...
0
votes
1
answer
106
views
Failing to deploy smart contract through ganache gui
const ethers = require("ethers");
const fs = require("fs-extra");
async function main() {
try {
const provider = new ethers.JsonRpcProvider("http://127.0.0.1:7545")...
1
vote
1
answer
54
views
Transaction failed: insufficient funds for gas * price + value Blockchain/laravel
`I worked with Ganache, Truffle, PHP 8, and Laravel. I’m running out of time and encountering this error message. Could you please assist me?
"error": "Transaction failed: insufficient ...
-1
votes
1
answer
67
views
hit an invalid opcode while deploying
i cant deploy my code on ganache and this is my eror:
hit an invalid opcode while deploying. Try:
Verifying that your constructor params satisfy all assert conditions.
Verifying your constructor code ...
0
votes
0
answers
34
views
Can I try to attack(simulation) the local blocks I create on Ganache to analyze the chage of the flow?
As title, I want to make a project like that. I may use HOIC to do the simulation attack. And write a monitor code to check the unormal flow when attack. Then do some analysis or drfense. Is that ...
0
votes
1
answer
89
views
Invalid opcode in Metamask and Ganache
When running a contract I am getting in remix an invalid opcode as well on Metamask, the contract that I am running is quite simple:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract ...
0
votes
1
answer
468
views
Fixing "Invalid OpCode" Truffle Error with Openzeppelin Library Installed
Hi. I am new to blockchain development. I am currently using Solidity + Truffle + Ganache on VS Code. I am also using the Openzeppelin Library.
So I created this very simple contract that basically is ...
0
votes
1
answer
155
views
failed to deploy a contract to the local blockchain of Ganache using Ethers
I wrote a contract demo using vscode on Windows 10, mainly deploying a contract to the local blockchain of Ganache using Ethers. However, when I executed node test.js, it reported an error as follows:
...
1
vote
1
answer
107
views
Flutter connectivity issue with Ganache on a real device
I am developing a flutter app in which I am using truffle framework and ganache. It is working perfectly on emulator. But when I connect it with my real device it gives nothing. For emulator '10.0.2.2'...
0
votes
1
answer
1k
views
JsonRpcProvider failed to detect network and cannot start up to deploy Smart contract using EthersJs to Ganache
SimpleStorage.sol
// I'm a comment!
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
// pragma solidity ^0.8.0;
// pragma solidity >=0.8.0 <0.9.0;
contract SimpleStorage {
uint256 ...
0
votes
1
answer
90
views
abi.encode() giving different results in ganache and sepolia , both of them don't make sense
Steps to reproduce -
Deploy to Ganache and sepolia the following contract -
contract ABIExample {
event EncodedData(bytes encodedData);
function encodeAndDecode(uint a, uint[] memory b,...
1
vote
1
answer
124
views
Chainlink request not fulfilling
I'm trying to setup a local Chainlink node to perform a task. The request is being performed correctly, but it seems like the fulfill function is not being called as the obtained data is not saved.
...