-
Notifications
You must be signed in to change notification settings - Fork 10
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(app): replace staking with dogfood #42
feat(app): replace staking with dogfood #42
Conversation
since that is handled by operator keeper
Test the commit af27899 with bootstrap test, passed. |
this causes a panic
TODO: `cmd/exocored/testnet.go`
Also comment out x/oracle tests for now
var ithPeers []string | ||
for j := 0; j < args.numValidators; j++ { | ||
if i != j { | ||
ip, _ := getIP(j, args.startingIPAddress) |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning test
|
||
// x/operator initialization - address only | ||
privkey, _ := ethsecp256k1.GenerateKey() | ||
key, _ := privkey.ToECDSA() |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning test
|
||
// x/operator initialization - address only | ||
privkey, _ := ethsecp256k1.GenerateKey() |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning test
bondAmt := sdk.DefaultPowerReduction | ||
// x/operator initialization - address only | ||
privkey, _ := ethsecp256k1.GenerateKey() | ||
key, _ := privkey.ToECDSA() |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning
|
||
bondAmt := sdk.DefaultPowerReduction | ||
// x/operator initialization - address only | ||
privkey, _ := ethsecp256k1.GenerateKey() |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack. Warning
The dogfood module is designed to act as a drop-in replacement for the staking module. This PR enables that usage, and at the same time, helps rationalize parts of
app/app.go
by providing comments about each module and their orders (begin / end / genesis) within the overall system.TODO: update the following things to remove reliance on staking module.
local_node.sh
exocored testnet init-files
app/ethtest_helper.go
app/test_helpers.go
TODO: testing of cross-chain communication.