File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,9 @@ func (ln *localNetwork) loadSnapshot(
331
331
}
332
332
ln .subnetID2ElasticSubnetID [subnetID ] = elasticSubnetID
333
333
}
334
- ln .blockchainAliases = networkState .BlockchainAliases
334
+ for k , v := range networkState .BlockchainAliases {
335
+ ln .blockchainAliases [k ] = v
336
+ }
335
337
}
336
338
if err := ln .loadConfig (ctx , networkConfig ); err != nil {
337
339
return err
Original file line number Diff line number Diff line change 6
6
"fmt"
7
7
"io/fs"
8
8
"os"
9
+ "path/filepath"
9
10
"time"
10
11
11
12
rpcb "github.com/ava-labs/avalanche-network-runner/rpcpb"
@@ -90,7 +91,7 @@ func CheckPluginPath(pluginExec string) error {
90
91
var err error
91
92
if _ , err = os .Stat (pluginExec ); err != nil {
92
93
if errors .Is (err , fs .ErrNotExist ) {
93
- return ErrNotExistsPlugin
94
+ return fmt . Errorf ( "%s: %w" , filepath . Base ( pluginExec ), ErrNotExistsPlugin )
94
95
}
95
96
return fmt .Errorf ("failed to stat plugin exec %q (%w)" , pluginExec , err )
96
97
}
You can’t perform that action at this time.
0 commit comments