Skip to content

Commit

Permalink
Support lotus 1.28.0-rc4 (#234)
Browse files Browse the repository at this point in the history
* Support lotus 1.28.0-rc4

* Update test config

* install cargo and rust

* fix ci

* try to fix ci

* Update tests
  • Loading branch information
lucaslopezf authored Jul 6, 2024
1 parent b16b7b0 commit aeb25f2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
- name: Install dependencies
run: apt update && apt install -yy build-essential bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev hwloc libhwloc-dev

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Test
run: make test

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ require (
github.com/coinbase/rosetta-sdk-go v0.7.2
github.com/filecoin-project/go-address v1.1.0
github.com/filecoin-project/go-bitfield v0.2.4
github.com/filecoin-project/go-f3 v0.0.2
github.com/filecoin-project/go-f3 v0.0.3-0.20240702063402-d48771055cf4
github.com/filecoin-project/go-jsonrpc v0.5.0
github.com/filecoin-project/go-state-types v0.14.0-rc5
github.com/filecoin-project/lotus v1.28.0-rc1
github.com/filecoin-project/lotus v1.28.0-rc4
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 @@ -21,7 +21,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.2800.0-rc1
github.com/zondax/rosetta-filecoin-lib v1.2800.0-rc4
gotest.tools v2.2.0+incompatible
)

Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ github.com/filecoin-project/go-commp-utils v0.1.3/go.mod h1:3ENlD1pZySaUout0p9AN
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ=
github.com/filecoin-project/go-crypto v0.0.1 h1:AcvpSGGCgjaY8y1az6AMfKQWreF/pWO2JJGLl6gCq6o=
github.com/filecoin-project/go-crypto v0.0.1/go.mod h1:+viYnvGtUTgJRdy6oaeF4MTFKAfatX071MPDPBL11EQ=
github.com/filecoin-project/go-f3 v0.0.2 h1:bzw/GndxntJnUYA+WCaXwHE2qwGRwrFVo9umz3unTUs=
github.com/filecoin-project/go-f3 v0.0.2/go.mod h1:Wry0mNa8z767TBHb7N0cVb+9j00KsHbD2pzsC3li4R8=
github.com/filecoin-project/go-f3 v0.0.3-0.20240702063402-d48771055cf4 h1:eQW2fyKyMuiweuySEb/zMIc3WLSAnIOY8lpqCVQM7pU=
github.com/filecoin-project/go-f3 v0.0.3-0.20240702063402-d48771055cf4/go.mod h1:Wry0mNa8z767TBHb7N0cVb+9j00KsHbD2pzsC3li4R8=
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-hamt-ipld v0.1.5 h1:uoXrKbCQZ49OHpsTCkrThPNelC4W3LPEk0OrS/ytIBM=
Expand All @@ -222,8 +222,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-rc5 h1:c8jo2mRx02u8smiCZsSDt1dsOGSu4gwfvHRqSKAl8Lc=
github.com/filecoin-project/go-state-types v0.14.0-rc5/go.mod h1:cHpOPup9H1g2T29dKHAjC2sc7/Ef5ypjuW9A3I+e9yY=
github.com/filecoin-project/lotus v1.28.0-rc1 h1:9+qL/dGxNom3dJrC+xt5CIBmplC4kqiA+DcZjUm4Oio=
github.com/filecoin-project/lotus v1.28.0-rc1/go.mod h1:1E5Pl5F6Du0JZf45C7PkvmYnwwii+60aKosmeDkPBvo=
github.com/filecoin-project/lotus v1.28.0-rc4 h1:2/iZFUrkIOv9dzqzWXsrMVWNJAwkuMNvIg0mbrU6rP4=
github.com/filecoin-project/lotus v1.28.0-rc4/go.mod h1:VnrjAa0NAciJNwhTwOklGXoIP4sRndS892uPe+eT/qk=
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 @@ -1000,8 +1000,8 @@ github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
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/zondax/rosetta-filecoin-lib v1.2800.0-rc1 h1:kY1j8jEr7g/CYgyJjWtt3tBRi/kgbLejz3ebZ1YOTVk=
github.com/zondax/rosetta-filecoin-lib v1.2800.0-rc1/go.mod h1:J/tHsMF6q6akye1hhzs6cvEVhfO7ybnaRZgWi910y2Q=
github.com/zondax/rosetta-filecoin-lib v1.2800.0-rc4 h1:vVSnucdl1DnDSpWDYHxVu0vaZdXvLCYnK8XV+nB7jAw=
github.com/zondax/rosetta-filecoin-lib v1.2800.0-rc4/go.mod h1:2NKWYNIYKKpW+JIa/BHohia9uZYRsDKpQXwdhsbwosI=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
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": 1750000,
"start_index": 1761216,
"end_conditions": {
"index": 1751146
"index": 1762216
}
}
}

0 comments on commit aeb25f2

Please sign in to comment.