@@ -374,14 +374,12 @@ export class CarbonAccountingAppDummyInfrastructure {
374
374
this . _xdaiAccount = await this . xdai . createEthTestAccount ( 10000000 ) ;
375
375
376
376
{
377
- const { contractName, bytecode , abi : contractAbi } = DaoTokenContract ;
377
+ const { contractName } = DaoTokenContract ;
378
378
this . log . info ( `Deploying ${ contractName } ...` ) ;
379
379
380
380
const res = await besuPlugin . deployContract ( {
381
381
contractName,
382
382
keychainId : keychainPlugin . getKeychainId ( ) ,
383
- bytecode,
384
- contractAbi,
385
383
constructorArgs : [ this . xdaiAccount . get ( ) . address ] ,
386
384
gas : 8000000 ,
387
385
web3SigningCredential : {
@@ -405,7 +403,7 @@ export class CarbonAccountingAppDummyInfrastructure {
405
403
}
406
404
407
405
{
408
- const { contractName, bytecode , abi : contractAbi } = GovernorContract ;
406
+ const { contractName } = GovernorContract ;
409
407
this . log . info ( `Deploying ${ contractName } ...` ) ;
410
408
411
409
const timelockAccount = await this . xdai . createEthTestAccount ( 2000000 ) ;
@@ -414,8 +412,6 @@ export class CarbonAccountingAppDummyInfrastructure {
414
412
const res = await besuPlugin . deployContract ( {
415
413
contractName,
416
414
keychainId : keychainPlugin . getKeychainId ( ) ,
417
- bytecode,
418
- contractAbi,
419
415
// address timelock_, address dclm8_, address guardian_
420
416
constructorArgs : [
421
417
timelockAccount . address ,
@@ -444,16 +440,14 @@ export class CarbonAccountingAppDummyInfrastructure {
444
440
}
445
441
446
442
{
447
- const { contractName, bytecode , abi : contractAbi } = TimelockContract ;
443
+ const { contractName } = TimelockContract ;
448
444
this . log . info ( `Deploying ${ contractName } ...` ) ;
449
445
450
446
const adminAccount = await this . xdai . createEthTestAccount ( 2000000 ) ;
451
447
const delay = 7 * 60 * 60 * 24 ;
452
448
const res = await besuPlugin . deployContract ( {
453
449
contractName,
454
450
keychainId : keychainPlugin . getKeychainId ( ) ,
455
- bytecode,
456
- contractAbi,
457
451
constructorArgs : [ adminAccount . address , delay ] ,
458
452
gas : 8000000 ,
459
453
web3SigningCredential : {
@@ -477,19 +471,13 @@ export class CarbonAccountingAppDummyInfrastructure {
477
471
}
478
472
479
473
{
480
- const {
481
- contractName,
482
- bytecode,
483
- abi : contractAbi ,
484
- } = NetEmissionsTokenNetworkContract ;
474
+ const { contractName } = NetEmissionsTokenNetworkContract ;
485
475
486
476
this . log . info ( `Deploying ${ contractName } ...` ) ;
487
477
const adminAccount = await this . xdai . createEthTestAccount ( 2000000 ) ;
488
478
const res = await besuPlugin . deployContract ( {
489
479
contractName,
490
480
keychainId : keychainPlugin . getKeychainId ( ) ,
491
- bytecode,
492
- contractAbi,
493
481
constructorArgs : [ adminAccount . address ] ,
494
482
gas : 8000000 ,
495
483
web3SigningCredential : {
0 commit comments