File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,8 @@ var (
118118 FlareHRP : FlareChainID ,
119119 CostwoHRP : CostwoChainID ,
120120 LocalFlareHRP : LocalFlareChainID ,
121+ "flare" : FlareChainID , // Alias for network name
122+ "costwo" : CostwoChainID , // Alias for network name
121123 "fuji" : CostwoChainID , // Alias for backwards compatibility with tests
122124 }
123125)
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import (
2121 "github.com/ava-labs/avalanche-rosetta/service"
2222 "github.com/ava-labs/avalanche-rosetta/service/backend/pchain/indexer"
2323
24- avaconstants "github.com/ava-labs/avalanchego/utils/constants"
2524 avatypes "github.com/ava-labs/avalanchego/vms/types"
2625)
2726
@@ -34,7 +33,8 @@ func TestFetchBlkDependencies(t *testing.T) {
3433
3534 ctx := context .Background ()
3635
37- networkID := avaconstants .MainnetID
36+ // networkID := avaconstants.MainnetID
37+ networkID := uint32 (14 ) // Flare mainnet network ID
3838 networkIdentifier := & types.NetworkIdentifier {
3939 Blockchain : service .BlockchainName ,
4040 Network : constants .MainnetNetwork ,
You can’t perform that action at this time.
0 commit comments