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

Signature aggregator sdk #2149

Merged
merged 26 commits into from
Sep 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ce84bda
wip
arturrez Sep 10, 2024
8255b4f
go mod tidy
arturrez Sep 10, 2024
f910e6e
use awm-relayer@main
arturrez Sep 10, 2024
d34e429
fixes
arturrez Sep 10, 2024
193d908
use latest awm-relayer pkg which caused upgrade on coreth and avago …
arturrez Sep 10, 2024
99ea790
use latest anr and rm prometheus metrics
arturrez Sep 10, 2024
fba4092
Merge branch 'main' into signature-aggregator
arturrez Sep 10, 2024
604fcb2
check for errors
arturrez Sep 10, 2024
61e3b3f
lint
arturrez Sep 11, 2024
1dbd1aa
mv to sdk/interchain
arturrez Sep 11, 2024
00f7ff9
some refactoring and added unittests
arturrez Sep 12, 2024
6b7790e
fix license
arturrez Sep 12, 2024
182cc6f
fix unittest for now
arturrez Sep 12, 2024
3ebba77
fix lint
arturrez Sep 12, 2024
dbb1ae2
allow empty subnetID
arturrez Sep 13, 2024
2dc7610
rm error msg from example
arturrez Sep 13, 2024
c3c1504
Merge branch 'acp-77' into signature-aggregator
sukantoraymond Sep 19, 2024
f5dede3
refactor to address felipe feedback
arturrez Sep 24, 2024
69d40c7
we should remove this from the test in favour of https://github.com/a…
arturrez Sep 24, 2024
d76ae7b
update readme example
arturrez Sep 24, 2024
24727ec
rm goconst fix CI
arturrez Sep 24, 2024
89aef71
put `- goconst` back
arturrez Sep 26, 2024
73e17d5
Merge branch 'main' into signature-aggregator
arturrez Sep 27, 2024
cbd4bf4
resolve conficts
arturrez Sep 27, 2024
b8c1c62
Merge branch 'main' into signature-aggregator
arturrez Sep 30, 2024
5d380f5
Merge branch 'acp-77' into signature-aggregator
arturrez Sep 30, 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
Prev Previous commit
Next Next commit
Merge branch 'main' into signature-aggregator
  • Loading branch information
arturrez committed Sep 10, 2024
commit fba4092073e2e034f981e6324064991c801a7f1b
11 changes: 5 additions & 6 deletions pkg/teleporter/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/ava-labs/avalanche-cli/pkg/models"
"github.com/ava-labs/avalanche-cli/pkg/utils"
"github.com/ava-labs/avalanche-cli/pkg/ux"
"github.com/ava-labs/avalanchego/utils/logging"
apiConfig "github.com/ava-labs/awm-relayer/config"
offchainregistry "github.com/ava-labs/awm-relayer/messages/off-chain-registry"
"github.com/ava-labs/awm-relayer/relayer/config"
Expand Down Expand Up @@ -351,11 +350,11 @@ func CreateBaseRelayerConfig(
awmRelayerConfig := &config.Config{
LogLevel: logLevel,
PChainAPI: &apiConfig.APIConfig{
BaseURL: endpoint,
BaseURL: network.Endpoint,
QueryParams: map[string]string{},
},
InfoAPI: &apiConfig.APIConfig{
BaseURL: endpoint,
BaseURL: network.Endpoint,
QueryParams: map[string]string{},
},
StorageLocation: storageLocation,
Expand Down Expand Up @@ -471,10 +470,10 @@ func addSourceToRelayerConfig(
BlockchainID: blockchainID,
VM: config.EVM.String(),
RPCEndpoint: apiConfig.APIConfig{
BaseURL: fmt.Sprintf("http://%s:%d/ext/bc/%s/rpc", host, port, blockchainID),
BaseURL: rpcEndpoint,
},
WSEndpoint: apiConfig.APIConfig{
BaseURL: fmt.Sprintf("ws://%s:%d/ext/bc/%s/ws", host, port, blockchainID),
BaseURL: wsEndpoint,
},
MessageContracts: map[string]config.MessageProtocolConfig{
icmMessengerAddress: {
Expand Down Expand Up @@ -508,7 +507,7 @@ func addDestinationToRelayerConfig(
BlockchainID: blockchainID,
VM: config.EVM.String(),
RPCEndpoint: apiConfig.APIConfig{
BaseURL: fmt.Sprintf("http://%s:%d/ext/bc/%s/rpc", host, port, blockchainID),
BaseURL: rpcEndpoint,
},
AccountPrivateKey: relayerFundedAddressKey,
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.