NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

make start-operator not working correctly #257

Closed firatsertgoz closed 1 day ago

firatsertgoz commented 2 weeks ago

make start-operator errors out with {"err":"open tests/keys/bls/1.bls.key.json: no such file or directory"} because the file structure changed

operator.anvil.yaml => ecdsa_private_key_store_path: tests/keys/ecdsa/1/key.json bls_private_key_store_path: tests/keys/bls/1/key.json

seems like the correct paths

after fixing this I also ran into an issue:


Stacktrace
    github.com/NethermindEth/near-sffl/operator.(*AvsManager).RegisterOperatorWithEigenlayer
        /home/firat/Documents/near-sffl/operator/avs_manager.go:238
    github.com/NethermindEth/near-sffl/operator.(*Operator).RegisterOperatorWithEigenlayer
        /home/firat/Documents/near-sffl/operator/operator.go:440
    github.com/NethermindEth/near-sffl/operator.(*Operator).registerOperatorOnStartup
        /home/firat/Documents/near-sffl/operator/operator.go:484
    github.com/NethermindEth/near-sffl/operator.NewOperatorFromConfig
        /home/firat/Documents/near-sffl/operator/operator.go:237
    main.operatorMain
        /home/firat/Documents/near-sffl/operator/cmd/main.go:50
    github.com/urfave/cli.HandleAction
        /home/firat/go/pkg/mod/github.com/urfave/cli@v1.22.14/app.go:524
    github.com/urfave/cli.(*App).Run
        /home/firat/go/pkg/mod/github.com/urfave/cli@v1.22.14/app.go:286
    main.main
        /home/firat/Documents/near-sffl/operator/cmd/main.go:26
    runtime.main
        /home/linuxbrew/.linuxbrew/Cellar/go/1.22.4/libexec/src/runtime/proc.go:271