Open ulbqb opened 9 months ago
Events from other than x/wasm look discarded in https://github.com/CosmWasm/wasmd/blob/07c8beea006cd009e0c7b865fb32753f61221e1b/x/wasm/keeper/msg_dispatcher.go#L117. This is inconsistent with the comment https://github.com/CosmWasm/cosmwasm/blob/1ce73c6b91466fc46e8b574e381cdaa1fb0b298e/packages/std/src/results/submessages.rs#L204. We asked about this upstream. (https://github.com/CosmWasm/cosmwasm/issues/1995)
I couldn't get events of
SetWithdrawAddress
andWithdrawDelegatorReward
inreply
. There are events ofSetWithdrawAddress
in a transaction result, but contracts can't get it in reply.https://github.com/ulbqb/finschia-wasmd-issue114/blob/9743a5ce4014226e66ef949db85c0b74d8476847/contracts/delegator/src/contract.rs#L116 The number of events is 0.
mini repro https://github.com/ulbqb/finschia-wasmd-issue114