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

[MEV Boost\Builder] check MEV rewards #5734

Closed
Tracked by #5396
tbenr opened this issue Jun 8, 2022 · 1 comment
Closed
Tracked by #5396

[MEV Boost\Builder] check MEV rewards #5734

tbenr opened this issue Jun 8, 2022 · 1 comment

Comments

@tbenr
Copy link
Contributor

tbenr commented Jun 8, 2022

Logged MEV rewards seems too high.

We should check if we are getting it right from the builder apis. (endianness issue?)

{"@timestamp":"2022-06-08T14:16:24,105","level":"INFO","thread":"OkHttp https://builder-relay-kiln.flashbots.net/...","class":"ExecutionLayerManagerImpl","message":"Received Builder Bid (Block Number = 611390, Block Hash = 0xd0c094cb36353b8437ad3786bbf6f3ae20f922ca6fd64c60bb7c0eee4f259674
, MEV Reward (wei) = 25368405923983682615519490057163250960554327957110539795117296244532686356480, Gas Limit = 30029295, Gas Used = 1231504)","throwable":""}
@tbenr tbenr changed the title check MEV rewards [MEV Boost\Builder] check MEV rewards Jun 8, 2022
@StefanBratanov
Copy link
Contributor

Closing this. There was an issue with the builder relay on kiln which is fixed now and we are getting adequate rewards value. Also we are correctly deserializing the value coming from the builder.

Builder Response:

{
   "version":"bellatrix",
   "data":{
      "message":{
         "header":{
            "parent_hash":"0x30d1b08219ea6d4784289df60c1901b9d18325d6766d72326848d81cfdf83bf3",
            "fee_recipient":"0x0000000000000000000000000000000000000001",
            "state_root":"0xf9444403af46fa85654685e2004cde481405121d15fa55edee7287be4674a22b",
            "receipts_root":"0xc5cac51a5002bc330aef76a95f73938bfa50f4c846269da2a0b672d229d619b2",
            "logs_bloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000008000000000000000000008000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000001000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000040008000000000000",
            "prev_randao":"0x6b86bb90af9785ba1cfdca300bdec97603a4afefc5fc3330ef9e6c87e6ed4a08",
            "block_number":"623514",
            "gas_limit":"29999972",
            "gas_used":"143661",
            "timestamp":"1654868868",
            "extra_data":"0x",
            "base_fee_per_gas":"7",
            "block_hash":"0x66794039f166503e70206c483266bbd12c26f3d2f247a4f3f8ac9d58b8260eaa",
            "transactions_root":"0xfe83a85f4277f92351c1c7e688229763007dd25eac75e6125110f0f45e63925f"
         },
         "value":"485097604181000",
         "pubkey":"0xb5246e299aeb782fbc7c91b41b3284245b1ed5206134b0028b81dfb974e5900616c67847c2354479934fc4bb75519ee1"
      },
      "signature":"0xa87af4cca2793ac606f63be1c7cfa2da7a8e7391c0373224b8fafba7bf8b3919ec00a20fb5327ffbe63360c12f5972a515711804d35831004d19c8bba0b88ff992e1798058b45310a08444e52079d5192998c9c93c71ec1ba14a2bb2373280e5"
   }
}

Log:
{"@timestamp":"2022-06-10T13:47:48,083","level":"INFO","thread":"OkHttp https://builder-relay-kiln.flashbots.net/...","class":"ExecutionLayerManagerImpl","message":"Received Builder Bid (Block Number = 623514, Block Hash = 0x66794039f166503e70206c483266bbd12c26f3d2f247a4f3f8ac9d58b8260eaa, MEV Reward (wei) = 485097604181000, Gas Limit = 29999972, Gas Used = 143661)","throwable":""}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants