-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Check class registration nullifier in node before returning class (
#11074) Since #10000 we are not broadcasting public bytecode. To work around this in some networks, we're manually adding some common contracts (Token) to archivers on startup. Since an Aztec node returns that a class is publicly registered as long as it's on its archiver, clients were not sending txs to register the Token class. However, we will soon check for registration nullifiers. But since clients think the Token class is registered, they never send the registration tx. So this will cause all interactions with the Token to break. This attempts to fix this by only telling clients that a class is registered if the nullifier is present.
- Loading branch information
1 parent
b1b67b0
commit 649b590
Showing
3 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters