Closed klkvr closed 6 hours ago
Adds constant DEPOSIT_REQUEST_TYPE similarly to https://github.com/alloy-rs/alloy/blob/eb8fb7133e19248b8ba3cda009b3f63deacce0c5/crates/eips/src/eip7002.rs#L18-L20 and https://github.com/alloy-rs/alloy/blob/eb8fb7133e19248b8ba3cda009b3f63deacce0c5/crates/eips/src/eip7251.rs#L15-L17
DEPOSIT_REQUEST_TYPE
And a helper Requests::push_request_with_type which appends request data to the given request typ
Requests::push_request_with_type
Motivation
Adds constant
DEPOSIT_REQUEST_TYPE
similarly to https://github.com/alloy-rs/alloy/blob/eb8fb7133e19248b8ba3cda009b3f63deacce0c5/crates/eips/src/eip7002.rs#L18-L20 and https://github.com/alloy-rs/alloy/blob/eb8fb7133e19248b8ba3cda009b3f63deacce0c5/crates/eips/src/eip7251.rs#L15-L17And a helper
Requests::push_request_with_type
which appends request data to the given request typSolution
PR Checklist