Include Code CIDs in Events #753
Replies: 2 comments 1 reply
-
How relevant are these considerations in other ecosystems, like Ethereum? Contracts on Ethereum can also self-destruct. While they don't directly upgrade, proxy patterns etc achieve something quite similar. Does this cause problems for Ethereum ecosystem devs? Can we find discussions where they wish they did it differently? Note: the Filecoin EVM actors will upgrade, but will do so silently as part of a network upgrade unless something is changed about how built-in actors are deployed. |
Beta Was this translation helpful? Give feedback.
-
I'm going to mark this as rejected as we've sat on this for a while and don't have a strong motivation for making it happen. |
Beta Was this translation helpful? Give feedback.
-
At the moment, events don't include code CIDs, just the emitter's ID. Unfortunately:
Neither of these are an issue today as:
However, it may be an issue in the future. Even now, I'd like a more convenient way to say "give me all events from actors with code CIDs X with some label Y".
The major downside of this is that events get larger. On the other hand, the cost of said bytes should be negligible as events aren't a part of the state (and are only persisted for indexing/historical purposes).
Beta Was this translation helpful? Give feedback.
All reactions