fix(block producer): rebase to latest master
@@ -9,7 +9,10 @@ use gw_chain::chain::Chain;
use gw_common::H256;
use gw_config::Config;
use gw_generator::{
- account_lock_manage::{secp256k1::Secp256k1Eth, AccountLockManage},
+ account_lock_manage::{
+ secp256k1::{Secp256k1Eth, Secp256k1Tron},
+ AccountLockManage,
+ },
backend_manage::BackendManage,
genesis::init_genesis,
Generator, RollupContext,
@@ -136,6 +139,10 @@ pub fn run(config: Config) -> Result<()> {
eth_lock_script_type_hash.unpack(),
Box::new(Secp256k1Eth::default()),
);
+ account_lock_manage.register_lock_algorithm(
+ eth_lock_script_type_hash.unpack(),
+ Box::new(Secp256k1Tron::default()),
+ );
Arc::new(Generator::new(
backend_manage,
account_lock_manage,
