From 21bb3e5b8d0c50d554fd6fe9710dc4b4f7324ba7 Mon Sep 17 00:00:00 2001 From: NathanBSC Date: Wed, 28 Aug 2024 16:06:08 +0800 Subject: [PATCH] fix: update init_holders.template --- scripts/init_holders.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/init_holders.template b/scripts/init_holders.template index c97b8149..403167ad 100644 --- a/scripts/init_holders.template +++ b/scripts/init_holders.template @@ -2,15 +2,15 @@ const web3 = require('web3'); const init_holders = [ { address: '0x37B8516a0F88E65D677229b402ec6C1e0E333004', - balance: web3.utils.toBN('500000000000000000000').toString('hex') // 500e18 + balance: BigInt('500000000000000000000').toString(16) // 500e18 }, { address: '0x6c468CF8c9879006E22EC4029696E005C2319C9D', - balance: web3.utils.toBN('500000000000000000000').toString('hex') // 500e18 + balance: BigInt('500000000000000000000').toString(16) // 500e18 }, {% for initHolder in initHolders %}{ address: '{{initHolder }}', - balance: web3.utils.toBN('500000000000000000000000000').toString('hex') // 500000000e18 + balance: BigInt('500000000000000000000000000').toString(16) // 500000000e18 },{% endfor %} ];