Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Distinguish null address from address zero #218

Open
edfelten opened this issue Oct 10, 2020 · 1 comment
Open

Distinguish null address from address zero #218

edfelten opened this issue Oct 10, 2020 · 1 comment
Labels
ArbOs An issue related to ArbOs

Comments

@edfelten
Copy link
Contributor

Currently ArbOS (and some aspects of its input protocol) treats a null address as the same as address zero. This is probably harmless, but it's better and safer to handle this according to spec. This would involve using option<address> in some places where the current code just uses an address.

(Null address is used in submitting txs to deploy contracts. Deploy txs use null as their destination address.)

@edfelten
Copy link
Contributor Author

edfelten commented Oct 12, 2020

This should wait until after the module system upgrade is merged. The improved type-checking will make this easier to implement and test.

@RGates94 RGates94 added the ArbOs An issue related to ArbOs label Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ArbOs An issue related to ArbOs
Projects
None yet
Development

No branches or pull requests

2 participants