Skip to content

Commit 812e5e2

Browse files
committed
update open rpc doc to add trace call and only support trace_call in V1 and V2
1 parent 81cb3c5 commit 812e5e2

File tree

3 files changed

+560
-1
lines changed

3 files changed

+560
-1
lines changed

src/rpc/methods/eth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3991,7 +3991,7 @@ impl RpcMethod<3> for EthTraceCall {
39913991
const NAME_ALIAS: Option<&'static str> = Some("trace_call");
39923992
const N_REQUIRED_PARAMS: usize = 1;
39933993
const PARAM_NAMES: [&'static str; 3] = ["tx", "traceTypes", "blockParam"];
3994-
const API_PATHS: BitFlags<ApiPaths> = ApiPaths::all();
3994+
const API_PATHS: BitFlags<ApiPaths> = make_bitflags!(ApiPaths::{ V1 | V2 });
39953995
const PERMISSION: Permission = Permission::Read;
39963996
const DESCRIPTION: Option<&'static str> = Some("Returns traces created by the transaction.");
39973997

src/rpc/snapshots/forest__rpc__tests__rpc__v1.snap

Lines changed: 276 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)