@@ -11,26 +11,15 @@ describe('ERC20Contract Test Suite', function () {
1111 let tokenAddress ;
1212 let erc20Contract ;
1313 let signers ;
14- let txSigner ;
1514 const TOTAL_SUPPLY = 10000000000 ;
1615
1716 before ( async function ( ) {
18- this . timeout ( 180000 ) ; // [diag] bound the hook so a hang flushes instead of eating the 45m job cap
19- console . log ( '[diag] erc20c: getSigners' ) ;
2017 signers = await ethers . getSigners ( ) ;
21- console . log ( '[diag] erc20c: deploy erc20Contract' ) ;
2218 erc20Contract = await utils . deployERC20Contract ( ) ;
23- // Relay model: one plain-ECDSA txSigner signs every contract call and no
24- // account is ever re-keyed. v0.77 rejects EthereumTransactions from KeyList
25- // accounts, so the signers stay untouched and act only as subjects.
26- console . log ( '[diag] erc20c: createTxSigner' ) ;
27- txSigner = await utils . createTxSigner ( signers [ 0 ] ) ;
28- erc20Contract = erc20Contract . connect ( txSigner ) ;
29- // Token is created natively by its treasury (signer0, plain ECDSA) — no
30- // contract-mediated create, so no account authorization is required.
31- console . log ( '[diag] erc20c: createFungibleTokenViaSdk' ) ;
19+ // No account is re-keyed, so signer0 stays a plain-ECDSA sender and signs
20+ // every call. The token is created natively by its treasury (signer0), so
21+ // no contract-mediated create and no account authorization is required.
3222 tokenAddress = await hapi . createFungibleTokenViaSdk ( 0 ) ;
33- console . log ( '[diag] erc20c: before DONE ' + tokenAddress ) ;
3423 } ) ;
3524
3625 after ( function ( ) {
0 commit comments