File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
backend/pkg/api/data_access Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -928,15 +928,21 @@ func (d *DataAccessService) getNextWithdrawalRow(queryValidators []validatorGrou
928928 }
929929
930930 nextData := & t.VDBWithdrawalsClTableRow {
931- SlotProcessed : nextWithdrawalSlot ,
932- Index : nextValidator .ValidatorIndex ,
933- GroupId : nextValidator .GroupId ,
931+ SlotProcessed : nextWithdrawalSlot ,
932+ Index : nextValidator .ValidatorIndex ,
933+ PublicKey : t .PubKey (hexutil .Encode (nextValidatorData .PublicKey )),
934+ WithdrawalCredentials : t .Hash (hexutil .Encode (nextValidatorData .WithdrawalCredentials )),
935+ GroupId : nextValidator .GroupId ,
934936 Recipient : & t.Address {
935937 Hash : t .Hash (address .String ()),
936938 Ens : ens_name ,
937939 IsContract : contractStatus [0 ] == types .CONTRACT_CREATION || contractStatus [0 ] == types .CONTRACT_PRESENT ,
938940 },
939- Amount : utils .GWeiToWei (big .NewInt (int64 (withdrawalAmount ))),
941+ Amount : utils .GWeiToWei (big .NewInt (int64 (withdrawalAmount ))),
942+ Type : "auto" ,
943+ Status : "queued" ,
944+ Slot : nextWithdrawalSlot ,
945+ SlotIndex : 0 , // ?
940946 }
941947
942948 return nextData , nil
You can’t perform that action at this time.
0 commit comments