Questions tagged [message]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

how get a revert message

I have this example contract. contract Example{ function foo(){ revert("hello world!!!"); } } When execute the foo function, this revert the tx, how get the revert message? ...
2
votes
1answer
90 views

Exchange messages between two clients of Dapp without spending gas?

Let's say that I want to build a Dapp such that users can exchange messages between each other. I guess you can consider it a chat Dapp. Is there any way for the two users to find the "address" of ...
1
vote
0answers
50 views

How to enable mail server (mailserver) when starting a whisper node by using “geth”?

As title, I can't find any flag about enabling the "mailserver" when starting whisper node. However, I found a Diagnostic Tool called "wnode":https://github.com/ethereum/go-ethereum/wiki/Diagnostic-...
1
vote
0answers
24 views

How to trace the ethereum in a contract if messages are not written in the blockchain

The messages initiated by contracts are not stored in the blockchain, unlike transactions. If that's the case how can do we see where an ethereum in a contract or a wallet came from if it's from a ...
1
vote
1answer
117 views

Solidity triggered event that shows a message to everyone who is currently in the site

Just a small question regarding how solidity event works. Let's say I have a function buyCandy(). At the end of the function I attached event: emit LogBuyCandy(msg.sender); event LogBuyCandy(address ...
1
vote
0answers
149 views

Gas cost of a Message Call

I was trying to calculate the cost of a message call (CALL, DELEGATECALL, CALLCODE) following the yellow paper but I've not been able to fully understand it. It seems that Ccallgas is an isolated ...
1
vote
0answers
117 views

How does whisper work in Ethereum?

I am trying to build a Dapp and I need to send messages between any two users. The messages would be used to reach a sort of private agreement between them. The agreement then could be published on ...
0
votes
0answers
61 views

Getting Metamask Error Message into web3.js DApp after user rejects transaction

I'm building a simple HTML/JavaScript front-end to interact with a Smart Contract using web3.js and MetaMask. I have a function to call one of the methods in order to send a contribution to the Smart ...
0
votes
0answers
29 views

“Fork choice rule” and its unclear concepts

This article (Link to article) explains the "fork choice rule". The first figure after the section "Fork choice rule" is really confusing (along with its explanation). The first question is that: ...