diff --git a/contracts/FluiDex.sol b/contracts/FluiDex.sol index 522f545..3772765 100644 --- a/contracts/FluiDex.sol +++ b/contracts/FluiDex.sol @@ -212,6 +212,17 @@ contract FluiDexDemo is bjjPubkey: bjjPubkey }); userBjjPubkeyToUserId[bjjPubkey] = userId; + + Operations.Registry memory op = Operations.Registry({ + accountId: userId, + l2key: bjjPubkey + }); + + addPriorityRequest( + Operations.OpType.Registry, + Operations.writeRegistryPubdataForPriorityQueue(op) + ); + emit RegisterUser(ethAddr, userId, bjjPubkey); }