Skip to content

Commit 0193919

Browse files
committed
gen fixes
1 parent 6801cb9 commit 0193919

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

lib/hugepageutil/checkhuge.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package hugepageutil
22

33
import (
44
"bufio"
5-
"golang.org/x/xerrors"
65
"os"
76
"strconv"
87
"strings"
8+
9+
"golang.org/x/xerrors"
910
)
1011

1112
func CheckHugePages(minPages int) error {

lib/paths/proof_parents.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package paths
22

33
import (
44
"errors"
5-
"github.com/filecoin-project/go-state-types/abi"
65
"os"
76
"path/filepath"
7+
8+
"github.com/filecoin-project/go-state-types/abi"
89
)
910

1011
var parentCacheDir string

lib/supraffi/gosupra/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ func main() {
1818
panic(err)
1919
}
2020

21-
supraffi.SupraSealInit(sectorSize, os.Args[2])
21+
supraffi.SupraSealInit(uint64(sectorSize), os.Args[2])
2222
}

tasks/sealsupra/task_supraseal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"encoding/hex"
66
"encoding/json"
77
"fmt"
8-
"github.com/filecoin-project/curio/lib/hugepageutil"
98
"os"
109
"path/filepath"
1110
"sync"
@@ -24,6 +23,7 @@ import (
2423
"github.com/filecoin-project/curio/harmony/harmonydb"
2524
"github.com/filecoin-project/curio/harmony/harmonytask"
2625
"github.com/filecoin-project/curio/harmony/resources"
26+
"github.com/filecoin-project/curio/lib/hugepageutil"
2727
"github.com/filecoin-project/curio/lib/passcall"
2828
"github.com/filecoin-project/curio/lib/paths"
2929
"github.com/filecoin-project/curio/lib/slotmgr"

0 commit comments

Comments
 (0)