Skip to content

Commit 4939b62

Browse files
committed
Merge remote-tracking branch 'origin/master' into op-erigon
2 parents ccce216 + 598641b commit 4939b62

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

remote/ethbackend.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ service ETHBACKEND {
6464
rpc BorTxnLookup(BorTxnLookupRequest) returns (BorTxnLookupReply);
6565

6666
rpc BorEvents(BorEventsRequest) returns (BorEventsReply);
67+
68+
rpc AAValidation(AAValidationRequest) returns (AAValidationReply);
6769
}
6870

6971
enum Event {
@@ -214,3 +216,11 @@ message EngineGetPayloadBodiesByRangeV1Request {
214216
uint64 start = 1;
215217
uint64 count = 2;
216218
}
219+
220+
message AAValidationRequest {
221+
types.AccountAbstractionTransaction tx = 1;
222+
}
223+
224+
message AAValidationReply {
225+
bool valid = 1;
226+
}

types/types.proto

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,33 @@ message ExecutionPayloadBodyV1 {
133133
repeated bytes transactions = 1;
134134
repeated Withdrawal withdrawals = 2;
135135
}
136+
137+
message AccountAbstractionTransaction {
138+
uint64 nonce = 1;
139+
bytes chain_id = 2;
140+
bytes tip = 3;
141+
bytes fee_cap = 4;
142+
uint64 gas = 5;
143+
144+
bytes sender_address = 6;
145+
repeated Authorization authorizations = 7;
146+
bytes execution_data = 8;
147+
bytes paymaster = 9;
148+
bytes paymaster_data = 10;
149+
bytes deployer = 11;
150+
bytes deployer_data = 12;
151+
bytes builder_fee = 13;
152+
uint64 validation_gas_limit = 14;
153+
uint64 paymaster_validation_gas_limit = 15;
154+
uint64 post_op_gas_limit = 16;
155+
bytes nonce_key = 17;
156+
}
157+
158+
message Authorization {
159+
uint64 chain_id = 1;
160+
bytes address = 2;
161+
uint64 nonce = 3;
162+
uint32 y_parity = 4;
163+
bytes r = 5;
164+
bytes s = 6;
165+
}

0 commit comments

Comments
 (0)