diff --git a/schemas/global_exit_root.proto b/schemas/global_exit_root.proto index b31c929..67ad1b6 100644 --- a/schemas/global_exit_root.proto +++ b/schemas/global_exit_root.proto @@ -7,7 +7,17 @@ message ExitRoots { } message GlobalExitRoot { + message GlobalExitRootEvent { + uint64 rollupId = 1; + uint64 batchNumber = 2; + uint64 depositCount = 3; + string aggregator = 4; + string rollUpExitRoot = 5; + string globalExitRoot = 6; + ExitRoots exitRoots = 4; + } + uint64 blockNumber = 1; uint64 timestamp = 2; - repeated ExitRoots data = 3; + repeated GlobalExitRoot data = 3; } diff --git a/schemas/l1_state.proto b/schemas/l1_state.proto deleted file mode 100644 index 4a7c42a..0000000 --- a/schemas/l1_state.proto +++ /dev/null @@ -1,20 +0,0 @@ -package l1stateblockpackage; -syntax = "proto3"; - -message ExitRoots { - string mainnet = 1; - string rollUp = 2; -} - -message L1StateBlock { - message L1State { - uint64 batchNumber = 1; - string aggregator = 2; - bool isTrusted = 3; - ExitRoots exitRoots = 4; - } - - uint64 blockNumber = 1; - uint64 timestamp = 2; - repeated L1State data = 3; -}