Closed willscott closed 4 years ago
$ tvx extract-message --cid bafy2bzacedt2lns3fxaxve32jacra5emcp4p2o4b33wmistdwpzihruzcbck2 --file add.json --api $(cat ~/.lotus/token):$(cat ~/.lotus/api)
2020/08/28 13:28:51 calculating accessed actors during execution of message: bafy2bzacedt2lns3fxaxve32jacra5emcp4p2o4b33wmistdwpzihruzcbck2
accessed actors:
t09767
t01
t1mcr5xkgv4jdl3rnz77outn6xbmygb55vdejgbfi
t02
t099
getting the _before_ filtered state tree
2020/08/28 13:30:08 execution sanity check
2020/08/28 13:30:08 from actor found: &{bafkqadlgnfwc6mjpmfrwg33vnz2a bafy2bzacebmoph7je7qccsdxuvego3egmdi73ofakqtuklbmkleyarawkudpw 1358 199999999954170780896132}
2020/08/28 13:30:08 creating vm
2020/08/28 13:30:08 applying message
2020/08/28 13:30:08 applied message: &{MessageReceipt:{ExitCode:Ok(0) Return:[] GasUsed:359268} ActorErr:<nil> Penalty:+0 MinerTip:+539085 ExecutionTrace:{Msg:0xc0000da000 MsgRct:0xc0002136e0 Error: Duration:587.995µs GasCharges:[0xc0003e8360 0xc0003e83f0 0xc000226000 0xc000226090] Subcalls:[]} Duration:1.164906ms}
2020/08/28 13:30:08 flushing
2020/08/28 13:30:51 execution sanity check
2020/08/28 13:30:51 from actor found: &{bafkqadlgnfwc6mjpmfrwg33vnz2a bafy2bzacebmoph7je7qccsdxuvego3egmdi73ofakqtuklbmkleyarawkudpw 1359 199999999954170736966303}
2020/08/28 13:30:51 creating vm
2020/08/28 13:30:51 applying message
2020/08/28 13:30:51 applied message: &{MessageReceipt:{ExitCode:Ok(0) Return:[] GasUsed:359268} ActorErr:<nil> Penalty:+0 MinerTip:+539085 ExecutionTrace:{Msg:0xc0000da090 MsgRct:0xc00d375bc0 Error: Duration:587.955µs GasCharges:[0xc0000da7e0 0xc0000da870 0xc0000da900 0xc0000da990] Subcalls:[]} Duration:644.109µs}
2020/08/28 13:30:51 flushing
2020/08/28 13:30:51 loading the init actor for root: bafy2bzacebenfw7fizpsx7vdfe7sza5rjmi3fxkpijvn4j7cqb7zlmv7jszoc
2020/08/28 13:30:51 loaded init actor state: &{AddressMap:bafy2bzacec54kr3o3stkk3ein6s4svvtwo53ljr27paamztm3ysyn36a5hi6i NextID:9767 NetworkName:testnetnet}
2020/08/28 13:30:51 resolving addresses: [t09767 t01 t1mcr5xkgv4jdl3rnz77outn6xbmygb55vdejgbfi t02 t099]
2020/08/28 13:30:51 resolved addresses: [t09767 t01 t0114 t02 t099]
2020/08/28 13:30:51 retaining init actor entries for addresses: [t09767 t01 t1mcr5xkgv4jdl3rnz77outn6xbmygb55vdejgbfi t02 t099]
2020/08/28 13:30:51 new init actor state: &{AddressMap:bafy2bzacedx7dvr6n2d37ulohahnrr6fdlol3opg74nvojtsrbrwegl2yfhhe NextID:9767 NetworkName:testnetnet}
2020/08/28 13:30:51 saving init actor into state tree
2020/08/28 13:30:51 saved init actor into state tree; new root: bafy2bzacebpbkw2so5sy5ntzfhxposo2ezbk3s7vleck5a4yfdojz6k6vukts
get actor t09767
get actor t01
get actor t0114
get actor t02
get actor t099
2020/08/28 13:30:51 execution sanity check
2020/08/28 13:30:51 from actor found: &{bafkqadlgnfwc6mjpmfrwg33vnz2a bafy2bzacebmoph7je7qccsdxuvego3egmdi73ofakqtuklbmkleyarawkudpw 1360 199999999954170693036474}
2020/08/28 13:30:51 creating vm
2020/08/28 13:30:51 applying message
2020/08/28 13:30:51 applied message: &{MessageReceipt:{ExitCode:18 Return:[] GasUsed:5362277} ActorErr:constructor failed (RetCode=18):
github.com/filecoin-project/specs-actors/actors/builtin.RequireSuccess
github.com/filecoin-project/specs-actors@v0.9.2/actors/builtin/shared.go:26 Penalty:+0 MinerTip:+42685626 ExecutionTrace:{Msg:0xc000486000 MsgRct:0xc00d3da8a0 Error:constructor failed (RetCode=18) Duration:676.726µs GasCharges:[0xc0000dae10 0xc0000daea0 0xc0000daf30 0xc0000dafc0 0xc0000db0e0 0xc0000db170 0xc0000db200 0xc0000db290 0xc0000db320 0xc0000db3b0 0xc0000db440 0xc0000db4d0 0xc0000db560 0xc0000db5f0 0xc0000db680 0xc0000db710 0xc0000db7a0 0xc0000db830 0xc0000db8c0 0xc0000db950 0xc0000db9e0 0xc0000dba70 0xc0000dbb00 0xc0000dbb90 0xc0000dbc20 0xc0000dbcb0 0xc000404090] Subcalls:[{Msg:0xc00d3037a0 MsgRct:0xc00d3da7e0 Error:failed to resolve to address: t08821: no code for address t08821 (RetCode=18) Duration:57.428µs GasCharges:[0xc0000dbd40 0xc0000dbdd0 0xc0000dbe60 0xc0000dbef0] Subcalls:[]}]} Duration:702.702µs}
2020/08/28 13:30:51 flushing
Note that this means that:
t08821
, which is not one of the retained addresses and therefore fails. This means there's something more needed in GetAccessedActors
.
stateCall
rather than state replay