added translation for create2, README updates, shell script updates
This commit is contained in:
parent
6b6dd452f0
commit
935d0c9866
@ -66,19 +66,19 @@ On first startup, you'll need to apply database migrations with:
|
|||||||
### Inspect a single block
|
### Inspect a single block
|
||||||
|
|
||||||
Inspecting block [12914944](https://twitter.com/mevalphaleak/status/1420416437575901185):
|
Inspecting block [12914944](https://twitter.com/mevalphaleak/status/1420416437575901185):
|
||||||
**Note**: Add `--geth` at the end if RPC_URL points to a geth / geth like node.
|
**Note**: Add `geth` at the end instead of `parity` if RPC_URL points to a geth / geth like node.
|
||||||
|
|
||||||
```
|
```
|
||||||
./mev inspect 12914944
|
./mev inspect 12914944 parity
|
||||||
```
|
```
|
||||||
|
|
||||||
### Inspect many blocks
|
### Inspect many blocks
|
||||||
|
|
||||||
Inspecting blocks 12914944 to 12914954:
|
Inspecting blocks 12914944 to 12914954:
|
||||||
**Note**: Add `--geth` at the end if RPC_URL points to a geth / geth like node.
|
**Note**: Add `geth` at the end instead of `parity` if RPC_URL points to a geth / geth like node.
|
||||||
|
|
||||||
```
|
```
|
||||||
./mev inspect-many 12914944 12914954
|
./mev inspect-many 12914944 12914954 parity
|
||||||
```
|
```
|
||||||
|
|
||||||
### Inspect all incoming blocks
|
### Inspect all incoming blocks
|
||||||
|
6
mev
6
mev
@ -37,15 +37,17 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
inspect)
|
inspect)
|
||||||
block_number=$2
|
block_number=$2
|
||||||
|
rpc_type=$3
|
||||||
echo "Inspecting block $block_number"
|
echo "Inspecting block $block_number"
|
||||||
kubectl exec -ti deploy/mev-inspect -- poetry run inspect-block $block_number
|
kubectl exec -ti deploy/mev-inspect -- poetry run inspect-block $block_number --type $rpc_type
|
||||||
;;
|
;;
|
||||||
inspect-many)
|
inspect-many)
|
||||||
start_block_number=$2
|
start_block_number=$2
|
||||||
end_block_number=$3
|
end_block_number=$3
|
||||||
|
rpc_type=$4
|
||||||
echo "Inspecting from block $start_block_number to $end_block_number"
|
echo "Inspecting from block $start_block_number to $end_block_number"
|
||||||
kubectl exec -ti deploy/mev-inspect -- \
|
kubectl exec -ti deploy/mev-inspect -- \
|
||||||
poetry run inspect-many-blocks $start_block_number $end_block_number
|
poetry run inspect-many-blocks $start_block_number $end_block_number --type $rpc_type
|
||||||
;;
|
;;
|
||||||
test)
|
test)
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
|
@ -17,6 +17,7 @@ _calltype_mapping = {
|
|||||||
"CALL": "call",
|
"CALL": "call",
|
||||||
"DELEGATECALL": "delegateCall",
|
"DELEGATECALL": "delegateCall",
|
||||||
"CREATE": "create",
|
"CREATE": "create",
|
||||||
|
"CREATE2": "create2",
|
||||||
"SUICIDE": "suicide",
|
"SUICIDE": "suicide",
|
||||||
"REWARD": "reward",
|
"REWARD": "reward",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user