Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agglayer service is not sending transactions correctly to Sepolia network #190

Open
vboluda opened this issue Jul 24, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@vboluda
Copy link

vboluda commented Jul 24, 2024

System information

Ubuntu 22.04 - x86_64

Commit id

5de0e14

Tools versions

Sepolia Node

Geth

Version: 1.14.7-stable
Git Commit: aa55f5ea200dfd07618fdf658d9d2741c3b376a8
Architecture: amd64
Go Version: go1.22.5

Prysm

version is v5.0.4.

Kurtosis engine

version 1.0.0

Description & steps to reproduce

Description

I configured kurtosis environment according to this video: https://www.youtube.com/watch?v=6ykNLEhwxIs&t=2020s

All services start correctly. Contracts are deployed on Sepolia. Due to "too many request problem" I have used my own Sepolia node instead of Infura or Alchemy.

I can send transactions to L2 using Admin private key.

It seems Agglayer service is failing due to a problem with transactions. I have enabled DEBUG traces:

20533,"caller":"reflect/value.go:596","msg":"received tx {1 0 1 {0xff66fa617530a7a5c92a69ea8e03dfe1a96755cca404a8016fdf2a0c7210b517 0x0000000000000000000000000000000000000000000000000000000000000000 [32 34 124 188 239 115 27 108 189 192 237 213 133 12 99 220 127 188 39 251 88 209 44 212 208 130 152 121 156 246 106 5 18 194 48 134 125 51 117 161 244 102 158 114 103 218 210 195 30 188 221 186 204 234 106 189 103 121 140 234 227 90 231 97 28 102 91 96 105 51 158 104 18 208 21 226 57 89 74 167 28 78 33 114 136 227 116 68 140 53 143 100 89 224 87 201 26 210 239 81 69 112 181 222 162 21 8 226 20 67 13 170 218 189 210 52 51 130 0 0 254 152 177 198 250 129 213 197 18 184 111 191 135 189 113 2 119 95 142 241 218 126 128 20 220 122 171 34 85 3 35 124 121 39 192 50 229 137 233 160 26 14 171 159 218 130 255 232 52 194 164 151 127 54 204 155 203 31 35 39 189 172 95 180 143 251 235 150 86 239 205 247 13 38 86 195 40 144 62 159 185 110 78 63 71 12 68 123 48 83 204 104 214 140 240 173 49 127 225 10 167 242 84 34 46 71 234 7 243 193 195 170 203 116 229 146 106 103 38 47 38 28 30 211 18 5 118 171 135 123 73 168 31 184 170 197 20 49 133 134 98 175 107 26 129 56 164 78 157 8 18 208 50 52 3 105 69 156 204 152 177 9 52 124 200 116 199 32 45 206 236 195 219 176 157 127 158 86 88 241 202 58 146 210 43 225 250 40 249 148 82 5 216 83 226 200 102 217 182 73 48 26 201 133 123 7 185 46 72 101 40 61 61 94 43 113 30 165 248 92 178 218 113 150 83 130 236 224 80 80 141 61 0 139 190 77 245 69 143 112 189 62 27 252 197 11 52 34 43 67 205 40 203 227 154 59 171 110 70 70 100 167 66 22 29 249 156 96 118 56 228 21 206 212 157 12 215 25 81 133 57 237 95 86 31 129 208 127 228 13 60 232 85 8 224 51 36 101 49 62 96 173 154 226 113 213 128 2 47 252 164 251 228 215 45 56 209 142 122 110 32 208 32 161 209 229 168 244 17 41 26 185 85 33 56 111 165 56 221 254 106 57 29 74 54 105 204 100 196 15 7 137 95 3 21 80 179 47 125 115 32 90 105 194 20 168 239 60 223 153 108 73 94 63 210 76 0 135 63 48 234 107 43 250 191 211 141 225 195 218 53 125 31 239 226 3 87 63 218 210 47 103 92 181 207 171 190 192 160 65 177 179 18 116 247 1 147 218 142 144 207 196 214 220 5 76 124 210 109 9 193 218 221 6 78 197 43 109 220 250 12 177 68 214 93 158 19 28 12 136 248 0 79 144 211 99 3 77 131 154 167 118 1 103 181 48 44 54 210 194 246 113 75 65 120 32 112 177 12 81 193 120 189 146 49 130 210 133 2 243 110 25 176 121 177 144 0 140 70 209 156 57 147 49 253 96 182 182 189 232 152 189 29 208 167 30 231 236 127 247 18 76 195 211 116 132 102 20 56 158 123 89 117 183 124 64 89 188 66 184 16 103 61 187 111 139 149 30 91 99 107 223 36 175 210 163 203 233 108 232 96 14 138 121 115 27 74 86 198 151 89 110 11 255 123 115 244 19 189 188 117 6 155 0 43 0 215 19 250 232 214 69 4 40 36 111 27 121 77 86 113 112 80 253 183 123 190 9 74 194 238 106 245 74 21 62 47 184 206 29 49 168 108 79 221 82 55 131 185 16 190 223 125 181 138 70 186 108 228 138 195 202 25 79 60 242 39 94]}}","pid":7,"module":"rpc"}
{"level":"debug","ts":1721815750.021538,"caller":"interop/executor.go:85","msg":"verify batches trusted L1 call: {0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d 0xf02136Ca871982193d409628e4Af58E91DC19Cd7 0 <nil> <nil> <nil> <nil> [20 137 237 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 102 250 97 117 48 167 165 201 42 105 234 142 3 223 225 169 103 85 204 164 4 168 1 111 223 42 12 114 16 181 23 0 0 0 0 0 0 0 0 0 0 0 0 109 228 77 113 253 132 50 199 158 156 81 41 229 108 220 77 56 190 213 221 32 34 124 188 239 115 27 108 189 192 237 213 133 12 99 220 127 188 39 251 88 209 44 212 208 130 152 121 156 246 106 5 18 194 48 134 125 51 117 161 244 102 158 114 103 218 210 195 30 188 221 186 204 234 106 189 103 121 140 234 227 90 231 97 28 102 91 96 105 51 158 104 18 208 21 226 57 89 74 167 28 78 33 114 136 227 116 68 140 53 143 100 89 224 87 201 26 210 239 81 69 112 181 222 162 21 8 226 20 67 13 170 218 189 210 52 51 130 0 0 254 152 177 198 250 129 213 197 18 184 111 191 135 189 113 2 119 95 142 241 218 126 128 20 220 122 171 34 85 3 35 124 121 39 192 50 229 137 233 160 26 14 171 159 218 130 255 232 52 194 164 151 127 54 204 155 203 31 35 39 189 172 95 180 143 251 235 150 86 239 205 247 13 38 86 195 40 144 62 159 185 110 78 63 71 12 68 123 48 83 204 104 214 140 240 173 49 127 225 10 167 242 84 34 46 71 234 7 243 193 195 170 203 116 229 146 106 103 38 47 38 28 30 211 18 5 118 171 135 123 73 168 31 184 170 197 20 49 133 134 98 175 107 26 129 56 164 78 157 8 18 208 50 52 3 105 69 156 204 152 177 9 52 124 200 116 199 32 45 206 236 195 219 176 157 127 158 86 88 241 202 58 146 210 43 225 250 40 249 148 82 5 216 83 226 200 102 217 182 73 48 26 201 133 123 7 185 46 72 101 40 61 61 94 43 113 30 165 248 92 178 218 113 150 83 130 236 224 80 80 141 61 0 139 190 77 245 69 143 112 189 62 27 252 197 11 52 34 43 67 205 40 203 227 154 59 171 110 70 70 100 167 66 22 29 249 156 96 118 56 228 21 206 212 157 12 215 25 81 133 57 237 95 86 31 129 208 127 228 13 60 232 85 8 224 51 36 101 49 62 96 173 154 226 113 213 128 2 47 252 164 251 228 215 45 56 209 142 122 110 32 208 32 161 209 229 168 244 17 41 26 185 85 33 56 111 165 56 221 254 106 57 29 74 54 105 204 100 196 15 7 137 95 3 21 80 179 47 125 115 32 90 105 194 20 168 239 60 223 153 108 73 94 63 210 76 0 135 63 48 234 107 43 250 191 211 141 225 195 218 53 125 31 239 226 3 87 63 218 210 47 103 92 181 207 171 190 192 160 65 177 179 18 116 247 1 147 218 142 144 207 196 214 220 5 76 124 210 109 9 193 218 221 6 78 197 43 109 220 250 12 177 68 214 93 158 19 28 12 136 248 0 79 144 211 99 3 77 131 154 167 118 1 103 181 48 44 54 210 194 246 113 75 65 120 32 112 177 12 81 193 120 189 146 49 130 210 133 2 243 110 25 176 121 177 144 0 140 70 209 156 57 147 49 253 96 182 182 189 232 152 189 29 208 167 30 231 236 127 247 18 76 195 211 116 132 102 20 56 158 123 89 117 183 124 64 89 188 66 184 16 103 61 187 111 139 149 30 91 99 107 223 36 175 210 163 203 233 108 232 96 14 138 121 115 27 74 86 198 151 89 110 11 255 123 115 244 19 189 188 117 6 155 0 43 0 215 19 250 232 214 69 4 40 36 111 27 121 77 86 113 112 80 253 183 123 190 9 74 194 238 106 245 74 21 62 47 184 206 29 49 168 108 79 221 82 55 131 185 16 190 223 125 181 138 70 186 108 228 138 195 202 25 79 60 242 39 94] []}","pid":7}
{"level":"debug","ts":1721815750.0251958,"caller":"rpc/rpc.go:77","msg":"get batch by number: &{1 <nil> 0x6De44d71fD8432c79E9c5129E56Cdc4d38BEd5dD 0xff66fa617530a7a5c92a69ea8e03dfe1a96755cca404a8016fdf2a0c7210b517 0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000 0xf5775cf616e616a020c605d52e14a448fb82e34462c7e45aaedf9e97cf921276 1721813880 0x36c4b7b2cffac01579afe3042e5c64b3325f7766b7b8e7f2383a972aaf15e83a <nil> true [{<nil> 0xc000376c80}] [{<nil> 0xc000951080}] [249 1 3 128 128 132 1 201 195 128 148 158 139 147 90 151 151 128 171 137 229 170 16 129 21 19 109 156 125 236 210 128 184 228 248 17 191 247 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 164 13 95 86 116 90 17 141 9 6 163 78 105 174 200 192 219 28 184 250 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 202 26 177 224 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 92 161 171 30 27 255]}","pid":7}
{"level":"error","ts":1721815750.0280974,"caller":"interop/executor.go:218","msg":"failed to add tx to get monitored: already exists","pid":7,"stacktrace":"github.com/0xPolygon/agglayer/interop.(*Executor).Settle\n\t/home/runner/work/agglayer/agglayer/interop/executor.go:218\ngithub.com/0xPolygon/agglayer/rpc.(*InteropEndpoints).SendTx\n\t/home/runner/work/agglayer/agglayer/rpc/rpc.go:87\nreflect.Value.call\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/reflect/value.go:596\nreflect.Value.Call\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/reflect/value.go:380\ngithub.com/0xPolygon/cdk-rpc/rpc.(*Handler).Handle\n\t/home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/handler.go:143\ngithub.com/0xPolygon/cdk-rpc/rpc.(*Server).handleSingleRequest\n\t/home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/server.go:184\ngithub.com/0xPolygon/cdk-rpc/rpc.(*Server).handle\n\t/home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/server.go:160\nnet/http.HandlerFunc.ServeHTTP\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136\ngithub.com/0xPolygon/cdk-rpc/rpc.(*Server).startHTTP.LimitFuncHandler.LimitHandler.func1\n\t/home/runner/go/pkg/mod/github.com/didip/tollbooth/[email protected]/tollbooth.go:311\nnet/http.HandlerFunc.ServeHTTP\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136\nnet/http.(*ServeMux).ServeHTTP\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2514\nnet/http.serverHandler.ServeHTTP\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2938\nnet/http.(*conn).serve\n\t/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2009"}
2024-07-24T10:09:10.028Z	�[31mERROR�[0m	rpc/handler.go:145	failed call: [-32000]failed to add tx to ethTxMan, error: failed to add tx to ethTxMan, error: failed to add tx to get monitored: already exists. Params: [{"tx":{"RollupID":1,"lastVerifiedBatch":"0x0","newVerifiedBatch":"0x1","ZKP":{"newStateRoot":"0xff66fa617530a7a5c92a69ea8e03dfe1a96755cca404a8016fdf2a0c7210b517","newLocalExitRoot":"0x0000000000000000000000000000000000000000000000000000000000000000","proof":"0x20227cbcef731b6cbdc0edd5850c63dc7fbc27fb58d12cd4d08298799cf66a0512c230867d3375a1f4669e7267dad2c31ebcddbaccea6abd67798ceae35ae7611c665b6069339e6812d015e239594aa71c4e217288e374448c358f6459e057c91ad2ef514570b5dea21508e214430daadabdd23433820000fe98b1c6fa81d5c512b86fbf87bd7102775f8ef1da7e8014dc7aab225503237c7927c032e589e9a01a0eab9fda82ffe834c2a4977f36cc9bcb1f2327bdac5fb48ffbeb9656efcdf70d2656c328903e9fb96e4e3f470c447b3053cc68d68cf0ad317fe10aa7f254222e47ea07f3c1c3aacb74e5926a67262f261c1ed3120576ab877b49a81fb8aac51431858662af6b1a8138a44e9d0812d032340369459ccc98b109347cc874c7202dceecc3dbb09d7f9e5658f1ca3a92d22be1fa28f9945205d853e2c866d9b649301ac9857b07b92e4865283d3d5e2b711ea5f85cb2da71965382ece050508d3d008bbe4df5458f70bd3e1bfcc50b34222b43cd28cbe39a3bab6e464664a742161df99c607638e415ced49d0cd719518539ed5f561f81d07fe40d3ce85508e0332465313e60ad9ae271d580022ffca4fbe4d72d38d18e7a6e20d020a1d1e5a8f411291ab95521386fa538ddfe6a391d4a3669cc64c40f07895f031550b32f7d73205a69c214a8ef3cdf996c495e3fd24c00873f30ea6b2bfabfd38de1c3da357d1fefe203573fdad22f675cb5cfabbec0a041b1b31274f70193da8e90cfc4d6dc054c7cd26d09c1dadd064ec52b6ddcfa0cb144d65d9e131c0c88f8004f90d363034d839aa7760167b5302c36d2c2f6714b41782070b10c51c178bd923182d28502f36e19b079b190008c46d19c399331fd60b6b6bde898bd1dd0a71ee7ec7ff7124cc3d374846614389e7b5975b77c4059bc42b810673dbb6f8b951e5b636bdf24afd2a3cbe96ce8600e8a79731b4a56c697596e0bff7b73f413bdbc75069b002b00d713fae8d6450428246f1b794d56717050fdb77bbe094ac2ee6af54a153e2fb8ce1d31a86c4fdd523783b910bedf7db58a46ba6ce48ac3ca194f3cf2275e"}},"signature":"0x567817853fe109b1105ede10c05a1a95859ef0db4b9fa30700de9e099117af38722000a91904eb213a503872f2c71bad68d1843aa987fe2da462a1c0d6152bd901"}]	{"pid": 7, "version": "", "method": "interop_sendTx", "requestId": 1}
github.com/0xPolygon/cdk-rpc/rpc.(*Handler).Handle
   /home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/handler.go:145
github.com/0xPolygon/cdk-rpc/rpc.(*Server).handleSingleRequest
   /home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/server.go:184
github.com/0xPolygon/cdk-rpc/rpc.(*Server).handle
   /home/runner/go/pkg/mod/github.com/0x!polygon/[email protected]/rpc/server.go:160
net/http.HandlerFunc.ServeHTTP
   /opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136
github.com/0xPolygon/cdk-rpc/rpc.(*Server).startHTTP.LimitFuncHandler.LimitHandler.func1
   /home/runner/go/pkg/mod/github.com/didip/tollbooth/[email protected]/tollbooth.go:311
net/http.HandlerFunc.ServeHTTP
   /opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2136
net/http.(*ServeMux).ServeHTTP
   /opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2514
net/http.serverHandler.ServeHTTP
   /opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2938
net/http.(*conn).serve
   /opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:2009
2024-07-24T10:09:10.028Z	�[35mDEBUG�[0m	rpc/handler.go:91	Current open connections 0	{"pid": 7, "version": "", "method": "interop_sendTx", "requestId": 1}
2024-07-24T10:09:10.028Z	�[34mINFO�[0m	rpc/server.go:273	172.16.0.14:42200 - - [24/Jul/2024:10:09:10 +0000] "POST / HTTP/1.1" 200 198 "zkevm-agglayer-001:4444" "Go-http-client/1.1"	{"pid": 7, "version": ""}
{"level":"info","ts":1721815750.2582195,"caller":"txmanager/txmanager.go:60","msg":"found 1 monitored tx to process","pid":7}
{"level":"info","ts":1721815750.2583835,"caller":"txmanager/txmanager.go:205","msg":"processing","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815750.259672,"caller":"txmanager/txmanager.go:205","msg":"unsigned tx 0xced937dd203b4df93b68d440ca2380bfa115323ef76d3fbe805138cfea4424f3 created","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815750.2600622,"caller":"txmanager/txmanager.go:205","msg":"signed tx 0x64a7612b787912ed4824ece70253cda4ed4ee6fca625a558a07f636edf767f3a created","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"info","ts":1721815750.2600935,"caller":"txmanager/txmanager.go:205","msg":"signed tx already existed in the history","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815750.2610815,"caller":"txmanager/txmanager.go:205","msg":"signed tx not found in the network","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"error","ts":1721815750.261391,"caller":"txmanager/txmanager.go:205","msg":"failed to send tx 0x64a7612b787912ed4824ece70253cda4ed4ee6fca625a558a07f636edf767f3a to network: invalid sender","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7","stacktrace":"github.com/0xPolygon/agglayer/txmanager.(*Client).monitorTxs.func1\n\t/home/runner/work/agglayer/agglayer/txmanager/txmanager.go:205"}
{"level":"info","ts":1721815751.2629614,"caller":"txmanager/txmanager.go:60","msg":"found 1 monitored tx to process","pid":7}
{"level":"info","ts":1721815751.2630012,"caller":"txmanager/txmanager.go:205","msg":"processing","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815751.2633314,"caller":"txmanager/txmanager.go:205","msg":"unsigned tx 0xced937dd203b4df93b68d440ca2380bfa115323ef76d3fbe805138cfea4424f3 created","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815751.2634077,"caller":"txmanager/txmanager.go:205","msg":"signed tx 0x64a7612b787912ed4824ece70253cda4ed4ee6fca625a558a07f636edf767f3a created","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"info","ts":1721815751.2634168,"caller":"txmanager/txmanager.go:205","msg":"signed tx already existed in the history","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"debug","ts":1721815751.2636452,"caller":"txmanager/txmanager.go:205","msg":"signed tx not found in the network","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7"}
{"level":"error","ts":1721815751.2639217,"caller":"txmanager/txmanager.go:205","msg":"failed to send tx 0x64a7612b787912ed4824ece70253cda4ed4ee6fca625a558a07f636edf767f3a to network: invalid sender","pid":7,"owner":"interop","monitoredTxId":"0xadc0e8a91ab217052c31092c9aacee9adcba63c478086daf4b7da8005fc09966","createdAt":1721814309.763968,"from":"0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d","to":"0xf02136Ca871982193d409628e4Af58E91DC19Cd7","stacktrace":"github.com/0xPolygon/agglayer/txmanager.(*Client).monitorTxs.func1\n\t/home/runner/work/agglayer/agglayer/txmanager/txmanager.go:205"}

According with previos log, there is a problem with sender (0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d): "invalid sender".

Checks performed:

  • 0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d is correctly set in "zkevm_l2_agglayer_address" parameter in params.yml
  • 0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d is funded in Sepolia
  • 0x33dae0D9D070fB9d9bcf8eF9006ffED51F08316d private key is correctly set in "zkevm_l2_agglayer_private_key" parameter in params.yml

This is the log from geth node (DEBUG and TRACE level are not enabled because it prints a large amount of non relevant information):

WARN [07-24|13:39:43.537] Served eth_sendRawTransaction            conn=172.16.0.18:41294 reqid=23659 duration="56.405µs" err="invalid sender"
WARN [07-24|13:39:44.539] Served eth_sendRawTransaction            conn=172.16.0.18:41294 reqid=23662 duration="56.774µs" err="invalid sender"
WARN [07-24|13:39:45.350] Served eth_sendRawTransaction            conn=172.16.0.10:43002 reqid=3841 duration="63.682µs" err="invalid sender"
WARN [07-24|13:39:45.542] Served eth_sendRawTransaction            conn=172.16.0.18:41294 reqid=23665 duration="56.493µs" err="invalid sender"
WARN [07-24|13:39:46.544] Served eth_sendRawTransaction            conn=172.16.0.18:41294 reqid=23668 duration="58.537µs" err="invalid sender"
(Constantly printing this message)

Desired behavior

There should be no error messages in Agglayer service log.

Sequencer contract should receive sequencing transactions every 15 minutes. As you can see this does not happened for a period of 2 hours.

Sequencer address: https://sepolia.etherscan.io/address/0x6De44d71fD8432c79E9c5129E56Cdc4d38BEd5dD

What is the severity of this bug?

Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

@vboluda vboluda added the bug Something isn't working label Jul 24, 2024
@vboluda vboluda changed the title Agglayer sercice is not sending transactions correctly to Sepolia network Agglayer service is not sending transactions correctly to Sepolia network Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant