paritytech / contract-issues

The place to report bugs and issues regarding contract on AssetHub.
0 stars 0 forks source link

Logs emitted by Solidity don't show up in REMIX #4

Open athei opened 1 week ago

athei commented 1 week ago

I modified the example 1_Storage.sol to emit a simple log:


event LogMessage(string message);

function store_value(uint256 num) public {
    emit LogMessage("called store_value");
    number = num;
}

When I run submit the store_value as transaction from REMIX the log doesn't show up:

Screenshot 2024-11-07 at 01 33 17

I verified that the event was actually emitted by looking up the extrinsic in SubScan:

Screenshot 2024-11-07 at 01 34 47

I also dry-ran it and made sure that the event is there:

Screenshot 2024-11-07 at 01 36 46

I didn't debug whether the RPC proxy doesn't return the log or whether REMIX is the cuprit.

pgherveou commented 6 days ago

fixed by https://github.com/paritytech/polkadot-sdk/pull/6393 commit