Skip to content

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

Closed
@athei

Description

@athei

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions