vechain / thor

A general purpose blockchain highly compatible with Ethereum's ecosystem
GNU Lesser General Public License v3.0
795 stars 248 forks source link

feat: pass master key as an option #690

Closed darrenvechain closed 3 months ago

darrenvechain commented 3 months ago

Description

This change allows injection of a master key as a startup flag

Fixes # (issue)

Type of change

How Has This Been Tested?

./bin/thor --network main --master-key eb5cce9a3ba17cd90fd4238cb382d1c47f1c2084f71384f6de6da03a1582d5e6

Checklist:

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.27%. Comparing base (c9c4a51) to head (d640297).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #690 +/- ## ======================================= Coverage 57.27% 57.27% ======================================= Files 156 156 Lines 17218 17218 ======================================= Hits 9862 9862 Misses 6392 6392 Partials 964 964 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kgapos commented 3 months ago

@darrenvechain looks good, you may want to document it in the docs?

darrenvechain commented 3 months ago

@darrenvechain looks good, you may want to document it in the docs?

Yepp, done here: https://github.com/vechain/thor/pull/690/commits/cea3ec6131c2cf90ca3d279d6070036999f44874