Skip to content

Commit

Permalink
support lotus 1-28-3 (#261)
Browse files Browse the repository at this point in the history
* support lotus 1-28-3

* mock
  • Loading branch information
lucaslopezf authored Sep 17, 2024
1 parent bb268e4 commit bfc45e6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 53 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/filecoin-project/go-f3 v0.2.0
github.com/filecoin-project/go-jsonrpc v0.6.0
github.com/filecoin-project/go-state-types v0.14.0
github.com/filecoin-project/lotus v1.29.0
github.com/filecoin-project/lotus v1.28.3
github.com/filecoin-project/specs-actors/v8 v8.0.1
github.com/google/uuid v1.6.0
github.com/ipfs/go-block-format v0.2.0
Expand All @@ -22,7 +22,7 @@ require (
github.com/multiformats/go-multihash v0.2.3
github.com/orcaman/concurrent-map v1.0.0
github.com/stretchr/testify v1.9.0
github.com/zondax/rosetta-filecoin-lib v1.2900.0
github.com/zondax/rosetta-filecoin-lib v1.2803.0
gotest.tools v2.2.0+incompatible
)

Expand Down
15 changes: 6 additions & 9 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,15 @@ github.com/filecoin-project/go-bitfield v0.2.4 h1:uZ7MeE+XfM5lqrHJZ93OnhQKc/rveW
github.com/filecoin-project/go-bitfield v0.2.4/go.mod h1:CNl9WG8hgR5mttCnUErjcQjGvuiZjRqK9rHVBsQF4oM=
github.com/filecoin-project/go-cbor-util v0.0.1 h1:E1LYZYTtjfAQwCReho0VXvbu8t3CYAVPiMx8EiV/VAs=
github.com/filecoin-project/go-cbor-util v0.0.1/go.mod h1:pqTiPHobNkOVM5thSRsHYjyQfq7O5QSCMhvuu9JoDlg=
github.com/filecoin-project/go-commp-utils v0.1.4 h1:/WSsrAb0xupo+aRWRyD80lRUXAXJvYoTgDQS1pYZ1Mk=
github.com/filecoin-project/go-commp-utils/v2 v2.1.0 h1:KWNRalUp2bhN1SW7STsJS2AHs9mnfGKk9LnQgzDe+gI=
github.com/filecoin-project/go-commp-utils/v2 v2.1.0/go.mod h1:NbxJYlhxtWaNhlVCj/gysLNu26kYII83IV5iNrAO9iI=
github.com/filecoin-project/go-commp-utils v0.1.3 h1:rTxbkNXZU7FLgdkBk8RsQIEOuPONHykEoX3xGk41Fkw=
github.com/filecoin-project/go-commp-utils v0.1.3/go.mod h1:3ENlD1pZySaUout0p9ANQrY3fDFoXdqyX04J+dWpK30=
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ=
github.com/filecoin-project/go-crypto v0.1.0 h1:Pob2MphoipMbe/ksxZOMcQvmBHAd3sI/WEqcbpIsGI0=
github.com/filecoin-project/go-crypto v0.1.0/go.mod h1:K9UFXvvoyAVvB+0Le7oGlKiT9mgA5FHOJdYQXEE8IhI=
github.com/filecoin-project/go-f3 v0.2.0 h1:Gis44+hOrDjSUEw3IDmU7CudNILi5e+bb1pgZgp680k=
github.com/filecoin-project/go-f3 v0.2.0/go.mod h1:43fBLX0iX0+Nnw4Z91wSrdfDYAd6YEDexy7GcLnIJtk=
github.com/filecoin-project/go-fil-commcid v0.1.0 h1:3R4ds1A9r6cr8mvZBfMYxTS88OqLYEo6roi+GiIeOh8=
github.com/filecoin-project/go-fil-commcid v0.1.0/go.mod h1:Eaox7Hvus1JgPrL5+M3+h7aSPHc0cVqpSxA+TxIEpZQ=
github.com/filecoin-project/go-fil-commp-hashhash v0.2.0 h1:HYIUugzjq78YvV3vC6rL95+SfC/aSTVSnZSZiDV5pCk=
github.com/filecoin-project/go-fil-commp-hashhash v0.2.0/go.mod h1:VH3fAFOru4yyWar4626IoS5+VGE8SfZiBODJLUigEo4=
github.com/filecoin-project/go-hamt-ipld v0.1.5 h1:uoXrKbCQZ49OHpsTCkrThPNelC4W3LPEk0OrS/ytIBM=
github.com/filecoin-project/go-hamt-ipld v0.1.5/go.mod h1:6Is+ONR5Cd5R6XZoCse1CWaXZc0Hdb/JeX+EQCQzX24=
github.com/filecoin-project/go-hamt-ipld/v2 v2.0.0 h1:b3UDemBYN2HNfk3KOXNuxgTTxlWi3xVvbQP0IT38fvM=
Expand All @@ -124,8 +121,8 @@ github.com/filecoin-project/go-state-types v0.1.0/go.mod h1:ezYnPf0bNkTsDibL/psS
github.com/filecoin-project/go-state-types v0.1.6/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q=
github.com/filecoin-project/go-state-types v0.14.0 h1:JFw8r/LA0/Hvu865Yn2Gz3R5e2woItKeHTgbT4VsXoU=
github.com/filecoin-project/go-state-types v0.14.0/go.mod h1:cDbxwjbmVtV+uNi5D/cFtxKlsRqibnQNlz7xQA1EqYg=
github.com/filecoin-project/lotus v1.29.0 h1:scoLdYwAXIEMULi5ZoN7fhv2EBlQAleVbEvC0+r/IWM=
github.com/filecoin-project/lotus v1.29.0/go.mod h1:izkkF1zvTU3DDs21tkdRlJgU5OPfJZkRrtLyHPCHHfE=
github.com/filecoin-project/lotus v1.28.3 h1:FGenHuTHBT8TYhzMyA75b2GeLGY0Wqbem/D5YpSkNSg=
github.com/filecoin-project/lotus v1.28.3/go.mod h1:sOiMD6njCo4G8Oaeo/XSzPjQiePcLkIcyPwPNNoj2Cg=
github.com/filecoin-project/specs-actors v0.9.13/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao=
github.com/filecoin-project/specs-actors v0.9.15-0.20220514164640-94e0d5e123bd/go.mod h1:pjGEe3QlWtK20ju/aFRsiArbMX6Cn8rqEhhsiCM9xYE=
github.com/filecoin-project/specs-actors v0.9.15 h1:3VpKP5/KaDUHQKAMOg4s35g/syDaEBueKLws0vbsjMc=
Expand Down Expand Up @@ -713,8 +710,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zondax/rosetta-filecoin-lib v1.2900.0 h1:TlifTFim+yXrJ1Tt8WJH0VkSlnb3y8My7gyDHXUmdic=
github.com/zondax/rosetta-filecoin-lib v1.2900.0/go.mod h1:CRWfv8D37A0fs7ekN1s3b4Nm8N2tPRye9JdpaUrLIaU=
github.com/zondax/rosetta-filecoin-lib v1.2803.0 h1:+hyMtCetMGYUInb7LZve0YxxPJ+n1A3OZIrLqFYeY5E=
github.com/zondax/rosetta-filecoin-lib v1.2803.0/go.mod h1:UJGKqWmPA+vemaVAR5wMYUYRaCXgcivqapJAFl93vAU=
gitlab.com/yawning/secp256k1-voi v0.0.0-20230925100816-f2616030848b h1:CzigHMRySiX3drau9C6Q5CAbNIApmLdat5jPMqChvDA=
gitlab.com/yawning/secp256k1-voi v0.0.0-20230925100816-f2616030848b/go.mod h1:/y/V339mxv2sZmYYR64O07VuCpdNZqCTwO8ZcouTMI8=
gitlab.com/yawning/tuplehash v0.0.0-20230713102510-df83abbf9a02 h1:qwDnMxjkyLmAFgcfgTnfJrmYKWhHnci3GjDqcZp1M3Q=
Expand Down
50 changes: 10 additions & 40 deletions rosetta/services/mocks/fullnode_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rosetta/tests/rosetta-config-PR-calibration.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"balance_tracking_disabled": false,
"coin_tracking_disabled": false,
"status_port": 9090,
"start_index": 1937004,
"start_index": 1974013,
"end_conditions": {
"index": 1937604
"index": 1974613
}
}
}

0 comments on commit bfc45e6

Please sign in to comment.