Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: api: Clean API for Miners #12112

Merged
merged 30 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
156dda9
proofparams alternate
snadrus Jun 19, 2024
f6d4075
createminer
snadrus Jun 19, 2024
b10c5ff
const factored from /build and types updated to use it
snadrus Jun 20, 2024
f4cf250
buildconstants for more places
snadrus Jun 20, 2024
08f126c
deprecate msg
snadrus Jun 20, 2024
36772b5
itest cleanup
snadrus Jun 20, 2024
66c9252
alerting interface
snadrus Jun 20, 2024
883469a
house cleaning
snadrus Jun 20, 2024
856ea4b
rm policy and drand from buildconstants
snadrus Jun 20, 2024
8d8894a
clean up curio further
snadrus Jun 20, 2024
35602b4
Merge branch 'master' into curioAvoidBuildFolder
snadrus Jun 20, 2024
ee8226e
aussie waffle
snadrus Jun 20, 2024
f1a6572
pr fixes
snadrus Jun 21, 2024
fc36dcc
fix lints
snadrus Jun 21, 2024
7a1cc4d
little fixes
snadrus Jun 24, 2024
ca58e1a
Merge branch 'master' into curioAvoidBuildFolder
snadrus Jul 11, 2024
3b0fecd
oops this got updated
snadrus Jul 11, 2024
12ba6f2
unbreak test builds
snadrus Jul 11, 2024
2217b86
test fixes
snadrus Jul 11, 2024
795a865
comments - cleanups
snadrus Jul 12, 2024
81387ca
itests fix alerting
snadrus Jul 12, 2024
7272177
rm obsolete alertinginterface
snadrus Jul 12, 2024
7639a07
spelling oops
snadrus Jul 12, 2024
d0eb1dc
Merge branch 'master' into curioAvoidBuildFolder
snadrus Jul 12, 2024
320c31f
changelog
snadrus Jul 12, 2024
86b9797
tests need buildconstants port
snadrus Jul 12, 2024
20947d2
Fully migrate BlockGasTarget
snadrus Jul 12, 2024
21ca683
ulimit should not depend on build
snadrus Jul 12, 2024
bec5965
complete the simplest deprecations
snadrus Jul 12, 2024
3d830f0
bringing back versions
snadrus Jul 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions build/parameters.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
package build

import (
_ "embed"
proofparams "github.com/filecoin-project/lotus/build/proof-params"
)

//go:embed proof-params/parameters.json
var params []byte

//go:embed proof-params/srs-inner-product.json
var srs []byte

func ParametersJSON() []byte {
return params
}

func SrsJSON() []byte {
return srs
}
var ParametersJSON = proofparams.ParametersJSON
var SrsJSON = proofparams.SrsJSON
19 changes: 19 additions & 0 deletions build/proof-params/parameters.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package build
rvagg marked this conversation as resolved.
Show resolved Hide resolved

import (
_ "embed"
)

//go:embed parameters.json
var params []byte

//go:embed srs-inner-product.json
var srs []byte

func ParametersJSON() []byte {
return params
}

func SrsJSON() []byte {
return srs
}
Loading