Skip to content

Commit c0359ef

Browse files
Merge pull request #10079 from BitGo/ashutosh/SI-2153-eth-zama-staking-feature
feat(statics): enable staking feature for mainnet eth:zama (SI-2153)
2 parents ee7e2c3 + 86e6567 commit c0359ef

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎modules/statics/src/coins/erc20Coins.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15002,7 +15002,8 @@ export const erc20Coins = [
1500215002
'Zama',
1500315003
18,
1500415004
'0xa12cc123ba206d4031d1c7f6223d1c2ec249f4f3',
15005-
UnderlyingAsset['eth:zama']
15005+
UnderlyingAsset['eth:zama'],
15006+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION, CoinFeature.STAKING]
1500615007
),
1500715008
erc20(
1500815009
'9c99940d-fa25-48cd-bcf5-ef794db4a532',

‎modules/statics/test/unit/base.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,14 @@ describe('Tokenized Equity CoinFeatures', function () {
387387
});
388388
});
389389
describe('ZAMA staking feature', function () {
390-
it('eth:zama should not expose STAKING', function () {
390+
it('eth:zama should expose correct staking metadata', function () {
391391
const coin = coins.get('eth:zama');
392-
coin.features.includes(CoinFeature.STAKING).should.be.false();
392+
coin.fullName.should.equal('Zama');
393+
coin.decimalPlaces.should.equal(18);
394+
coin.contractAddress.should.equal('0xa12cc123ba206d4031d1c7f6223d1c2ec249f4f3');
395+
coin.network.name.should.equal(Networks.main.ethereum.name);
396+
coin.features.should.containEql(CoinFeature.STAKING);
397+
coin.features.should.containEql(CoinFeature.BULK_TRANSACTION);
393398
});
394399

395400
it('hteth:zamamock should expose correct staking metadata', function () {

0 commit comments

Comments
 (0)