@@ -31,7 +31,7 @@ func TestHarmonyFlags(t *testing.T) {
3131 "/ip4/54.213.43.194/tcp/9874/p2p/QmZJJx6AdaoEkGLrYG4JeLCKeCKDjnFz2wfHNHxAqFSGA9,/ip4/13.113.101." +
3232 "219/tcp/12019/p2p/QmQayinFSgMMw5cSpDUiD9pQ2WeP6WNmGxpZ6ou3mdVFJX,/ip4/99.81.170.167/tcp/12019/p" +
3333 "2p/QmRVbTpEYup8dSaURZfF6ByrMTSKa4UyUzJhSjahFzRqNj --ip 8.8.8.8 --port 9000 --network_type=mainn" +
34- "et --dns_zone=t.hmny.io --blacklist=./.hmy/blacklist.txt -- min_peers=6 --max_bls_keys_per_node=" +
34+ "et --dns_zone=t.hmny.io --min_peers=6 --max_bls_keys_per_node=" +
3535 "10 --broadcast_invalid_tx=true --verbosity=3 --is_archival=false --shard_id=-1 --staking=true -" +
3636 "-aws-config-source file:config.json --p2p.disc.concurrency 5 --p2p.security.max-conn-per-ip 5 -" +
3737 "-localnet.blocks_per_epoch=64 --localnet.blocks_per_epoch_v2=64" ,
@@ -128,7 +128,6 @@ func TestHarmonyFlags(t *testing.T) {
128128 KMSConfigFile : "config.json" ,
129129 },
130130 TxPool : harmonyconfig.TxPoolConfig {
131- BlacklistFile : "./.hmy/blacklist.txt" ,
132131 AllowedTxsFile : "./.hmy/allowedtxs.txt" ,
133132 RosettaFixFile : "" ,
134133 AccountSlots : 16 ,
@@ -1269,7 +1268,6 @@ func TestTxPoolFlags(t *testing.T) {
12691268 {
12701269 args : []string {},
12711270 expConfig : harmonyconfig.TxPoolConfig {
1272- BlacklistFile : defaultConfig .TxPool .BlacklistFile ,
12731271 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
12741272 RosettaFixFile : defaultConfig .TxPool .RosettaFixFile ,
12751273 AccountSlots : defaultConfig .TxPool .AccountSlots ,
@@ -1283,9 +1281,8 @@ func TestTxPoolFlags(t *testing.T) {
12831281 },
12841282 },
12851283 {
1286- args : []string {"--txpool.blacklist" , "blacklist.file" , "--txpool. rosettafixfile" , "rosettafix.file" , "--txpool.allowedtxs" , "allowedtxs.txt " },
1284+ args : []string {"--txpool.rosettafixfile" , "rosettafix.file" },
12871285 expConfig : harmonyconfig.TxPoolConfig {
1288- BlacklistFile : "blacklist.file" ,
12891286 AllowedTxsFile : "allowedtxs.txt" ,
12901287 RosettaFixFile : "rosettafix.file" ,
12911288 AccountSlots : defaultConfig .TxPool .AccountSlots ,
@@ -1299,9 +1296,8 @@ func TestTxPoolFlags(t *testing.T) {
12991296 },
13001297 },
13011298 {
1302- args : []string {"--blacklist" , "blacklist.file" , "-- txpool.rosettafixfile" , "rosettafix.file" },
1299+ args : []string {"--txpool.rosettafixfile" , "rosettafix.file" },
13031300 expConfig : harmonyconfig.TxPoolConfig {
1304- BlacklistFile : "blacklist.file" ,
13051301 RosettaFixFile : "rosettafix.file" ,
13061302 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
13071303 AccountSlots : defaultConfig .TxPool .AccountSlots ,
@@ -1315,10 +1311,9 @@ func TestTxPoolFlags(t *testing.T) {
13151311 },
13161312 },
13171313 {
1318- args : []string {"--txpool.accountslots" , "5" , "--txpool.blacklist" , "blacklist.file" , "--txpool. rosettafixfile" , "rosettafix.file" },
1314+ args : []string {"--txpool.accountslots" , "5" , "--txpool.rosettafixfile" , "rosettafix.file" },
13191315 expConfig : harmonyconfig.TxPoolConfig {
13201316 AccountSlots : 5 ,
1321- BlacklistFile : "blacklist.file" ,
13221317 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
13231318 RosettaFixFile : "rosettafix.file" ,
13241319 LocalAccountsFile : defaultConfig .TxPool .LocalAccountsFile ,
@@ -1333,7 +1328,6 @@ func TestTxPoolFlags(t *testing.T) {
13331328 {
13341329 args : []string {"--txpool.locals" , "locals.txt" },
13351330 expConfig : harmonyconfig.TxPoolConfig {
1336- BlacklistFile : defaultConfig .TxPool .BlacklistFile ,
13371331 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
13381332 RosettaFixFile : defaultConfig .TxPool .RosettaFixFile ,
13391333 AccountSlots : defaultConfig .TxPool .AccountSlots ,
@@ -1349,7 +1343,6 @@ func TestTxPoolFlags(t *testing.T) {
13491343 {
13501344 args : []string {"--txpool.globalslots" , "10240" },
13511345 expConfig : harmonyconfig.TxPoolConfig {
1352- BlacklistFile : defaultConfig .TxPool .BlacklistFile ,
13531346 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
13541347 RosettaFixFile : defaultConfig .TxPool .RosettaFixFile ,
13551348 AccountSlots : defaultConfig .TxPool .AccountSlots ,
@@ -1365,7 +1358,6 @@ func TestTxPoolFlags(t *testing.T) {
13651358 {
13661359 args : []string {"--txpool.accountqueue" , "128" , "--txpool.globalqueue" , "10240" , "--txpool.lifetime" , "15m" , "--txpool.pricelimit" , "100" , "--txpool.pricebump" , "2" },
13671360 expConfig : harmonyconfig.TxPoolConfig {
1368- BlacklistFile : defaultConfig .TxPool .BlacklistFile ,
13691361 AllowedTxsFile : defaultConfig .TxPool .AllowedTxsFile ,
13701362 RosettaFixFile : defaultConfig .TxPool .RosettaFixFile ,
13711363 AccountSlots : defaultConfig .TxPool .AccountSlots ,
0 commit comments