Aayush Rajasekaran
6443e72ad7
Merge branch 'master' into feat/nv18-fevm
2022-11-29 20:16:12 -06:00
Łukasz Magiera
6abf7384e2
Merge pull request #9741 from filecoin-project/feat/faster-snapshot-import
...
feat: chain: Faster snapshot imports, zstd import
2022-11-29 18:17:36 +01:00
Aayush Rajasekaran
15afe384ff
Merge branch 'master' into feat/nv18
2022-11-29 10:01:51 -06:00
Łukasz Magiera
32efd0fbc2
Merge pull request #9497 from ipfs-force-community/fix/add_check_gaspremium
...
fix:mpool add gaspremium check when less than maxfee
2022-11-29 16:53:22 +01:00
Łukasz Magiera
ac8ab3ef9e
feat: chain: Faster snapshot imports, zstd imports
2022-11-29 14:10:15 +01:00
Geoff Stuart
b55e121642
Fix some more linter errors
2022-11-25 16:19:20 -05:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Aayush
40278cd3c1
Update to go-state-types v0.10.0-alpha-2
2022-11-23 17:36:49 -05:00
Geoff Stuart
d9df433e98
Add missing check in datacap for each
2022-11-22 15:40:44 -05:00
Steven Allen
176275267b
Merge branch 'feat/nv18' into feat/nv18-fevm
2022-11-22 10:32:26 -08:00
Steven Allen
2651a38f89
Merge branch 'master' into feat/nv18
2022-11-22 10:08:54 -08:00
Steven Allen
e78d1306ee
feat: fvm: add support for looking up past tipset CIDs ( #9687 )
...
* feat: add support for generating tipset CIDs
(cherry-picked from feat/nv18-fevm)
* feat: fvm: add support for looking up past tipset CIDs
We do this by adding yet another "getter" to the VM that resolves an
epoch into a TipSetKey.
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
2022-11-22 12:41:03 -05:00
Aayush Rajasekaran
6067968c07
Merge pull request #9654 from filecoin-project/gstuart/gas-estimation-tooling
...
feat: cli: gas estimation tooling
2022-11-22 09:55:19 -05:00
Geoff Stuart
96035005b8
Fold together call functions
2022-11-18 00:10:12 -05:00
Steven Allen
348494d7c8
feat: actors: add the evm to the builtin actors shims ( #9672 )
2022-11-17 06:55:40 -08:00
vyzo
5386bc2625
NV18: FEVM: setup FEVM during genesis: create ETH0 actor ( #9664 )
...
* setup FEVM during genesis: create ETH0 actor
* make gen
* doExec expects to,from not from, to
* give EAM a predictable address
* update go-state-types
* proper constructor params
* workaround the situation with empty contracts
* put fevm construction after miner construction
* lint
* fix TestAPI itest
off by 1, the new miner is not 1001 anymore; that's ETH0.
* add itest for ETH0 setup
* improve test: check eth0 address
2022-11-16 17:42:38 -08:00
frrist
0ae02be001
I love code gen somuchss
2022-11-16 17:22:20 -08:00
frrist
4f513692f9
fix: update paych mock to sat interface
2022-11-16 17:22:20 -08:00
frrist
e61b9b2a65
refactor: add inspection methods to actor gen interface
...
- adds the following methods to all generated actor interfaces:
- Code() cid.Cid
- ActorKey() string
- ActorVersion() actorstypes.Version
- AllCodes() []cid.Cid
2022-11-16 17:22:18 -08:00
frrist
a780756eac
refactor: expose address map bitwidth and hash function
2022-11-16 14:49:42 -08:00
Geoff Stuart
21afb3f5ea
Review fixes
2022-11-16 15:07:23 -05:00
Geoff Stuart
cde4b804e3
gas estimation shed command
2022-11-15 21:39:56 -05:00
Shrenuj Bansal
22f3fbb9a3
Add comment to Push API
2022-11-15 17:02:08 -05:00
Shrenuj Bansal
ab1eeeba24
one more
2022-11-14 16:11:49 -05:00
Shrenuj Bansal
800d9de4d5
Address comments
2022-11-14 15:46:58 -05:00
vyzo
af39ec27b8
NV18: FEVM: Basic smoke test ( #9635 )
...
* unknown return types should not be treated as errors from WaitForMessage
* simplecoin FEVM smoke test
* add itest-fevm to circle matrix
* use a named error for metadata lookup failures
* hand-write the fevm basic test
* make gen
* address nits
2022-11-14 21:06:55 +02:00
Shrenuj Bansal
2fa21ff091
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-11 14:41:38 -05:00
vyzo
1d8ebe96bc
fix error message when actor doesn't have predictable address
2022-11-11 05:21:08 +02:00
vyzo
5a5936c3c7
add comment about migration needing to create ETH address 0
2022-11-11 05:20:48 +02:00
vyzo
245e5705da
embryo: simplify code
2022-11-11 05:20:27 +02:00
vyzo
f438b1c7a6
store: fix error handling around tipset key blocks
2022-11-11 05:07:09 +02:00
vyzo
9123628254
revert newline mangling
2022-11-11 05:00:43 +02:00
vyzo
c9c53c9745
fix MinTimestap for null rounds
2022-11-10 06:17:43 +02:00
vyzo
6e149d5406
lint
2022-11-10 05:23:55 +02:00
vyzo
6e72910d31
fix account address resolution
...
it's in the actor state only if it is a v5 (or later) state tree
2022-11-10 05:01:44 +02:00
vyzo
a2d6c8f2f7
improve migration TODO comment
2022-11-10 04:35:54 +02:00
vyzo
30083949a0
fix genesis SetupEAM
...
Only when actors version is >= 10
2022-11-10 04:35:41 +02:00
vyzo
2b23372ad3
fixup merge artifacts
2022-11-10 02:51:57 +02:00
Steven Allen
b3b9da5bbc
fix: avoid returning an error when getting embryo state ( #9550 )
...
We need to add full FEVM state support, but that will require merging
master. This is enough for now.
fixes https://github.com/filecoin-project/ref-fvm/issues/1022
2022-11-09 19:47:24 +02:00
Raúl Kripalani
32617a61df
fix eth_feeHistory: add missing param.
2022-11-09 19:47:06 +02:00
Steven Allen
7f81780ffb
hack: allow sending from f4 addresses ( #9533 )
2022-11-09 19:40:02 +02:00
Raúl Kripalani
57a515f7a8
genesis: instantiate EAM at id 10.
2022-11-09 19:38:19 +02:00
vyzo
a2a9147790
thread epoch timestamp through vmopts
2022-11-09 19:30:08 +02:00
Kevin Li
6c7fd94aa7
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:28:17 +02:00
Kevin Li
e5bb5b7430
feat: ethrpc: implement EthBlock and EthTx structs ( #9287 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:23:49 +02:00
Kevin Li
4652d8559f
api: ethrpc: implement a few ethereum JSON-RPC API methods ( #9208 )
2022-11-09 19:23:11 +02:00
Steven Allen
ef90ba7cef
feat: make actor debugging a build param
...
And enable for wallaby.
fix build.
2022-11-09 19:22:43 +02:00
vyzo
378c9d37d0
lint
2022-11-09 11:38:16 +02:00
vyzo
cc79d7f79c
register v10 actor method meta
2022-11-09 11:32:50 +02:00
vyzo
0b6d1ad20b
set predictable address when creating account actors
2022-11-09 11:15:16 +02:00