Questions tagged [dapp-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

Ethereum Smart contract calling a function in another smart contract that has a address payable return value give error

I am new to solidity. Anyway, I have written the following smart contract: pragma solidity >=0.4.22 <0.7.0; contract SP { address BlockAddress; bytes32 _Mhash; function ...
3
votes
0answers
18 views

Remix debugger ignores breakpoint

Description of issue I'm trying to debug a simple contract using remix on chrome v. 65 on Ubuntu. I must be doing something wrong, because I have the following issue: When I place a breakpoint in ...
0
votes
0answers
21 views

Help needed: MetaMask crash reason?

I am experiencing an issue of MetaMask but I do not know how to track down if this is due to MetaMask itself or due to my dapp. Following problem: I load my webpage in Chromium on Linux and log in to ...
0
votes
0answers
730 views

TypeError: Cannot read property 'slice' of undefined

web3.eth.accounts.signTransaction(transactionObject, process.env.WALLET_PRIVATE_KEY, function (error, signedTx) { if (error) { log(`${error}`.red); } else { web3.eth....
1
vote
3answers
406 views

Cors Error with Infura?

anyone else who tries to read smart contract data through Infura and process it on front-end but gets 'CORS' error? My DAPP works fine in Google Chrome and has no issue in fetching the smart contract ...
1
vote
0answers
27 views

Error: VM Exception when inserting into ordered statistics tree

I am trying to use an ordered statistics tree library in solidity based on this implementation https://github.com/drcode/ethereum-order-statistic-tree with some minor modifications to make it into a ...
7
votes
2answers
1k views

Debugging JS unit tests with truffle framework in VS code

Is there a way to debug JS unit tests for smart contracts? I use VS Code for development, and when I try to run a Mocha debugger it complains that artifacts is not defined. I briefly looked at truffle ...
1
vote
0answers
271 views

Debug with geth

I'm trying to debug a failed ether transaction and to understand what went wrong. The transaction is this one: https://etherscan.io/tx/...
1
vote
0answers
62 views

Does Mist Wallet support transfer of Ether through a Smart Contract?

I have implemented a private ethereal blockchain. I have also deployed a simple trading smart contract. It runs fine once deployed through MIST wallet. The problem is that it does not subtract ether ...
0
votes
1answer
2k views

How to use custom ERC20 Tokens for payments [closed]

I am currently implementing a private Ethereum Blockchain. I have also created a custom ERC20 Token smart contract. I want to know how to use this custom token instead of ether for another smart ...
1
vote
0answers
800 views

How to fix 'Waiting for roots to load…' in react-devtools for a dApp?

I am building a Parity UI dApp from the Skeleton dApp at https://github.com/paritytech/skeleton and I want to debug it with Facebook's react-devtools Since Parity renders the dApp in an iframe, I ...
0
votes
1answer
137 views

Payable function 'charges' sender twice value sent in tx after invoking library function

Facing a nasty bug and could really use a pair of fresh eyes. I have a payable function that is somehow taking twice the value sent to it by the sender, from the sender. Specifically, it appears to ...
1
vote
1answer
217 views

Question regarding Testrpc evm_increaseTime and oraclise

After creating my contract at t1, which is supposed to be called back from oraclise using Ethereum-bridge at t2. I did a time jump to t2 on testrpc using evm_increaseTime and evm_mine. Yet the ...
6
votes
1answer
4k views

Truffle Dapp only works when I first use `truffle migrate --reset`

When I first load my Dapp with testrpc the functionality doesn't work until I use the command truffle migrate --reset Any ideas why?
17
votes
1answer
2k views

What is embark?

What is the embark framework? Who can use it, who should use it? And what are the benefits?
19
votes
1answer
4k views

What is truffle?

What is the truffle framework? Who can use it, who should use it? And what are the benefits?