-
Notifications
You must be signed in to change notification settings - Fork 3
Setup staging BTP testnet (ICON & Moonbeam) #339
Comments
What happened which results in new deployment? Docker containers keep growing and eat up all free disk space and causes system down. Docker service stopped. Reason is Thanks to @trmaphi support. |
An error during deploying, It makes g2m_btp_moonbeam | D|04:12:54.536999|b6b5|-|btp|btp.go:235 canRelay rms:2 has_wait:true skippable:true relayable:false
g2m_btp_moonbeam | P|04:12:56.915627|b6b5|-|btp|btp.go:447 fail to GetResult GetResultParam:&{0x58f5a99b7fb079ac16c36c68c04d4ac0091d1566ad4021d05832e7699829c7c7} err:fail to getresult by pending
g2m_btp_moonbeam | panic: (*logrus.Entry) 0xc0001a5dc0
g2m_btp_moonbeam |
g2m_btp_moonbeam | goroutine 158 [running]:
g2m_btp_moonbeam | github.com/sirupsen/logrus.Entry.log(0xc0001a5f80, 0xc000121140, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/sirupsen/logrus@v1.6.0/entry.go:259 +0x345
g2m_btp_moonbeam | github.com/sirupsen/logrus.(*Entry).Log(0xc000196070, 0x0, 0xc004ae3e70, 0x1, 0x1)
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/sirupsen/logrus@v1.6.0/entry.go:287 +0xf0
g2m_btp_moonbeam | github.com/sirupsen/logrus.(*Entry).Logf(0xc000196070, 0xc000000000, 0xf9f12d, 0x2b, 0xc000aec6e0, 0x2, 0x2)
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/sirupsen/logrus@v1.6.0/entry.go:333 +0xe5
g2m_btp_moonbeam | github.com/sirupsen/logrus.(*Entry).Panicf(0xc000196070, 0xf9f12d, 0x2b, 0xc000aec6e0, 0x2, 0x2)
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/sirupsen/logrus@v1.6.0/entry.go:371 +0x65
g2m_btp_moonbeam | github.com/icon-project/btp/btp.(*BTP).updateResult.func1()
g2m_btp_moonbeam | /home/ubuntu/testnet/btp/btp/btp.go:447 +0x752
g2m_btp_moonbeam | github.com/gammazero/workerpool.startWorker(0xc005576930, 0xc0009e61e0)
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/gammazero/workerpool@v1.1.2/workerpool.go:233 +0x27
g2m_btp_moonbeam | created by github.com/gammazero/workerpool.(*WorkerPool).dispatch
g2m_btp_moonbeam | /home/ubuntu/work/pkg/mod/github.com/gammazero/workerpool@v1.1.2/workerpool.go:195 +0x2f8
g2m_btp_icon | D|04:12:57.028309|3Cd0|-|btp|btp.go:188 OnBlockOfDst height:235
g2m_btp_moonbeam exited with code 2 |
Alice's btp address: btp://0x58eb1c.icon/hx548a976f8eda5d7c0afcb99110ca49434cdf921b |
It's error prone to update configuration properly with inconsistent/incorrect names. |
Hi, I need some information on this testnet to give it a shot, It'd be great if you guys can provide them to save time. @tiendq
Thanks, |
Alice: alice.ks.json, secret: f085f57a6e4f89eb Bob "privateKey": "0x1477fb360c00fd580829d22d842d69034df1e54c563e5f56b8b21a88a36c9678" |
|
You need to name it exactly, since there are 2 BSHs: BSH Core: 0x7d4567B7257cf869B01a47E8cf0EDB3814bDb963 |
Issue: Need to build contract ABI manually (ref). |
Issue: transactions are not indexed on Moonbeam. |
…nbeam-icondao Setup new goloop2moonbeam testnet and fixes for contract changes.
@sanglt1902 a few code issues found. |
* update minted_tokens table and update logic to calculate total_amount_us (#177) * update minted_tokens table * update logic API and percent change last 24h * update unit test and default value percentage mint volume 24h Co-authored-by: �Nhut Dang <nhinguyen@nhutdang.local> * fix: missing change value due to data out of range (#169) * feat(relays):add rewardLast24h field (#187) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat(transaction):add more filters (#191) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * refactor: save total fee change in tokens instead of converted $ (#171)' * fix(transactions): fix failed at first transaction (#192) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix(relays): update logic calculate for reward changed 30 days ago (#194) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat(ci/cd): update deployment ci cd script * chore: test sample ERC1155 contract on Moonbeam (#189) * docs: deploy testnet of ICON and Moonbeam (#202) * Get list tokens registered icon network (#211) * Get list tokens registered icon network * update initial database Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * Get list token registered moonbeam network (#210) * get list token registered moonbeam network Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * feat: add background task to update token conversion rate from CMC (#226) * update moonbeam rpc privider url to .env.example (#214) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: allow remote access to Sidecar and add timestamp to PM2 logs (#224) * Refactor/#168 Percent 24h change base on tokens (#193) * update percent change 24h base on tokens * update query get last tokens * update coding convention Co-authored-by: �Nhut Dang <nhinguyen@nhutdang.local> * chore: deploy first testnet ICON-Moonbeam (#232) * refactor: read Moonbeam contract events from evm.Log events (#242) * fix: get Moonbeam head block by RPC call (#233) * Feat/#225 sava burn value on ICON network (#221) Co-authored-by: Nhi Nguyễn <nhinguyen@nhutdang.local> * feat: handle transferring transactions on both ICON and Moonbeam (#224) * Feat/#225 Get mint/burn event from ICON network (#239) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: transaction history response correct transaction list with filter (#260) * fix: correct invalid values, invalid data size of transaction fields (#262) * fix: transaction total volume is not calc. correctly, fix volumeLast24h query (#263) * Feat/#222 get mint/burn value from MOONBEAM network (#251) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: add transaction end info, remove block hash (#264) * refactor(relay): refactor relay module (#253) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix(btpnetwork): fix bug of get bonded relay * refactor: add transaction detail error (#269) * refactor(relay-candidates): refactor relay candidate module * Feat/#219 get total bonded icx of relay (#260) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * Feat/#33 Optimize get bond value from db (#266) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * refactor: update RC reward database, total monthly reward, reward change in last 30 days (#37) * Refactor/#219 update re-name table relayers to bonded-icx (#267) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * update mintFee/burnFee value as total mint value and total burn value (#268) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * feat(relay): add handler for action add and remove relay on moonbeam * feat(relayer): add blockindexer to handle relay and update api get relayers (#275) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * Update to get correct field networkNameDst (#277) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix(relayer): wrong condition to update relay * feat(relayer): add logic to store total transaction via relay (#289) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * test: add sample contract for testing BSC events (#294) * Refactor/#225 update unit test for mint/burn event ICON (#297) Co-authored-by: Nhi Nguyễn <nhinguyen@nhutdang.local> * feat: add BSC block indexer (#280) * Refactor/#281 Unit test for TransferStart TransferEnd events MOONBEAM (#293) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: tx handlers should check and skip null receipt (#280) * refactor: refactoring database (#282) * refactor: updated database scripts (#282) * refactor: indexers do not save raw block data, keep stats only (#315) * feat: add indexer stats in /btpnetwork API (#328) * chore: add test step to CI (#321) * chore: deploy testnet goloop2moonbeam icondao (#339) * fix: transactions not indexed on Moonbeam (#345) * fix: naming contract variables consistently (#343) * feat: get transaction detail by hash (#322) * fix: empty network detail due to hard coded network ID (#355, #324) * chore: update Postgres container configuration (#364) * feat(btpnetwork): remove redundant function (#369) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat(relayer): fix bug lacking table name on query (#370) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * refactor(mint-burn): refactor duplicated code (#378) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * chore: setup bsc testnet (#308) building containers, test. * chore: update to work with BSC testnet (#371) * fix: check token transfer against registered token contracts (#385) * refactor: disable auction and fee features (#383) * fix: check to only register native coin (#379) * test: add tests for /btpnetwork APIs (#332) * test(block-indexer): add missing test case for relay, relayer, transaction (#397) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix: get mint/burn events (#346) * feat: handle IRC2 token register on ICON (#395) Close #395 * refactor: add initial data for native coins (#395) * test: add networks API tests (#332) * feat: indexing BSC transactions - add transaction block_hash and block_hash_end for Moonbeam - add transfer token scripts, test mint/burn/tx for 4 tx types (ICON and Moonbeam) Ref: #312 * fix: indexing relay and count tx on Moonbeam (#398) * refactor(mint-burn): refactor duplicated code (#411) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat: add BSC mint/burn indexer (#311) - not tested with live testnet - refactor mint/burn on other networks * refactor: update ABI file names following deployment scripts (#416) * fix: invalid value of volumeLast24hChange, volume, mintVolumeLast24hChange in /btpnetwork (#416) * refactor: add block-indexer and fix finding token (#416) * add block-indexer * preload registered tokens and find token in db * docs: testing BSC deployment and transferring (#382) Ref #382 * fix: duplicate TransferStart's serial number (#427) Close #426 * feat: index registered relay on BSC (#309) addRelay and removeRelay actions of BMC * fix: Moonbeam mint/burn event (TransferSingle) is not always in events[0] (#416) * fix: upgraded to icon-sdk-js v1.1.2 to fix compatibility issues with public testnet (#437) * fix: get correct token ID from TransferBatch event on ICON (#428) * fix: handle Invalid params txHash error (#438) * fix(scripts): fix script for creating ICON network init data * refactor: replace Sidecar with Web3 for Moonbeam indexer (#442) - remove sidecar - work with btp.net * docs: add deployment guide for staging environment (#416) * fix: wrong data from api network/:id (#464) * fix: replace getting tokens from contract with from token_info table (#402) * refactor: update relay indexing for ICON and Moonbeam (#406) * refactor: handle and log more for block and pending transaction issues (#473) * refactor: integrate with local testnet - fix several transaction issues - add transfer script - update deployment guide Ref: #312 * feat: handle mint/burn events on BSC, Moonbeam with Web3 handler (#311) * docs: add guideline to get reward data from BMC (#307) * refactor: index relayer register/unregister with BMC (#488) * feat: get reward data from ICON BMC (#307) * refactor: update relay-candidates api (#490) * feat: add test case for transaction api (#439) * test: add some test cases for relay-candidates api (#445) * test: add test cases for relay api (#440) * feat: create NEAR block indexer (#494) * refactor: running indexers in separate processes and own log files (#494) * fix: logger is not properly initialized for separate log files (#494) * refactor: update database design (#380) - Remove id, add tx_hash as PK for tables - Rename token_info to registered_tokens - Remove tx.blockHash, tx.blockHashEnd * fix: fixing miscellaneous issues for staging deployment - initial script and database schema - cron jobs - API * fix: mismatch timezone between apps and database configuration (#493) * refactor: use tx_hash as PK in mint/burn tables (#380) * test: fix failed test cases in of transaction, mint/burn, relay. * test: add .env configuration for API integration test (#495) * refactor: update deployment docs and scripts, and Moonbeam mint/burn logs (#416) - bump v0.1.8 * fix: fix duplicated Moonbeam burn event - fix in Web3 mint/burn - add logId for mint/burn tx Ref: #521 * refactor: implement Web3 transaction handler for Ethereum based networks (#518) * docs: test relays, transactions for Berlin testnet (#416) * feat: add mint/burn for IRC2 contracts, from TransferBatch to Transfer event - note: changes are based on IRC2 contract was implemented following https://github.com/icon-project/IIPs/blob/master/IIPS/iip-2.md Close #526 * feat: handle mint/burn and transaction with ERC20 contracts (#529) * refactor: handle ICON pending blocks and transactions (#416) * refactor: check result of only tx sent to watched contracts (#416) * chore: bump to v0.2.2 * refactor: handle token register with ERC20 factory (#538) * refactor: update handling events and database following changes in contracts with ERC20 factory (#536) * bump to v0.2.3 * refactor: fix bug eslint (#545) * refactor: update block indexer to adapt with bsc network * refactor: remove moonbeam-indexer module (#550) * refactor: update interval timer for block indexer * refactor: move cronjob tasks into sourcecode #552 * feat: add harmony chain * refactor: remove unnecessary config * feat: add filter by create_at field in get transaction api #557 * refactor: migrate database queries #556 * feat: add transaction handler for wonderland nft #562 * feat: add slack notification #563 * feat: update buy tokens event * refactor: push transaction's log to slack #566 (#567) * refactor: push transaction's log to slack #566 Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * refactor: source code to adapt to multiple icon bmc * refactor: remove redundant files * refactor: prevent request from client that cannot get ip #566 * refactor: update query createtransaction_ips table #566 * Revert "refactor: remove redundant files" This reverts commit 7b63fec. * fix: push transaction to slack #580 * feat: check block-indexer can not get new block #583 * refactor: be-dev remove redundant files (#579) * refactor: remove redundant files Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * refactor: be-dev remove redundant files (#579) * refactor: remove redundant files Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * docs: add slack command for checking block-indexer's status * refactor: remove SLACK_COMMAND_API_KEY * refactor block-indexer's health check api * refactor: change indexer status message * refactor: change indexer status message * docs: btp-architecture * feat: update buy token event for wonderland presale * docs: add architecture image to readme file * fix: transaction api * fix: send straction to slack * fix: slack notification * refactor: remove redundant files * test: update block-indexer's test case * test: add token for testing * feat:adding filter for transaction api (#655) adding filter for transaction api * fix:wrong 24h volume value (#688) * feat: update logic handle token name * network optimize api get network information * network - optimize api get network information * network - move function getDataFromTable to common queries * network - get network information - add ONE_DAY_IN_MILLISECONDS constant * Optimize api get network information, from 2-5 seconds to 200-500 milliseconds (#719) optimize API to get network information Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> * Task/optimize network api (#725) * network - optimize API get network information Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> * fix: get network information find transaction with status equal 1 * docs: update doc to guide add a new network of EVM Co-authored-by: dangminhnhut1993 <dangminhnhut1993@gmail.com> Co-authored-by: �Nhut Dang <nhinguyen@nhutdang.local> Co-authored-by: Tien Do <tiendq@gmail.com> Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> Co-authored-by: Dan <dantn93@gmail.com> Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> Co-authored-by: duongvonga2 <35133731+duongvonga2@users.noreply.github.com>
* fix(transactions): fix failed at first transaction (#192) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix(relays): update logic calculate for reward changed 30 days ago (#194) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat(ci/cd): update deployment ci cd script * chore: test sample ERC1155 contract on Moonbeam (#189) * docs: deploy testnet of ICON and Moonbeam (#202) * Get list tokens registered icon network (#211) * Get list tokens registered icon network * update initial database Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * Get list token registered moonbeam network (#210) * get list token registered moonbeam network Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * feat: add background task to update token conversion rate from CMC (#226) * update moonbeam rpc privider url to .env.example (#214) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: allow remote access to Sidecar and add timestamp to PM2 logs (#224) * Refactor/#168 Percent 24h change base on tokens (#193) * update percent change 24h base on tokens * update query get last tokens * update coding convention Co-authored-by: �Nhut Dang <nhinguyen@nhutdang.local> * chore: deploy first testnet ICON-Moonbeam (#232) * refactor: read Moonbeam contract events from evm.Log events (#242) * fix: get Moonbeam head block by RPC call (#233) * Feat/#225 sava burn value on ICON network (#221) Co-authored-by: Nhi Nguyễn <nhinguyen@nhutdang.local> * feat: handle transferring transactions on both ICON and Moonbeam (#224) * Feat/#225 Get mint/burn event from ICON network (#239) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: transaction history response correct transaction list with filter (#260) * fix: correct invalid values, invalid data size of transaction fields (#262) * fix: transaction total volume is not calc. correctly, fix volumeLast24h query (#263) * Feat/#222 get mint/burn value from MOONBEAM network (#251) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: add transaction end info, remove block hash (#264) * refactor(relay): refactor relay module (#253) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix(btpnetwork): fix bug of get bonded relay * refactor: add transaction detail error (#269) * refactor(relay-candidates): refactor relay candidate module * Feat/#219 get total bonded icx of relay (#260) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * Feat/#33 Optimize get bond value from db (#266) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * refactor: update RC reward database, total monthly reward, reward change in last 30 days (#37) * Refactor/#219 update re-name table relayers to bonded-icx (#267) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * update mintFee/burnFee value as total mint value and total burn value (#268) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * feat(relay): add handler for action add and remove relay on moonbeam * feat(relayer): add blockindexer to handle relay and update api get relayers (#275) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * Update to get correct field networkNameDst (#277) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix(relayer): wrong condition to update relay * feat(relayer): add logic to store total transaction via relay (#289) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * test: add sample contract for testing BSC events (#294) * Refactor/#225 update unit test for mint/burn event ICON (#297) Co-authored-by: Nhi Nguyễn <nhinguyen@nhutdang.local> * feat: add BSC block indexer (#280) * Refactor/#281 Unit test for TransferStart TransferEnd events MOONBEAM (#293) Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> * fix: tx handlers should check and skip null receipt (#280) * refactor: refactoring database (#282) * refactor: updated database scripts (#282) * refactor: indexers do not save raw block data, keep stats only (#315) * feat: add indexer stats in /btpnetwork API (#328) * chore: add test step to CI (#321) * chore: deploy testnet goloop2moonbeam icondao (#339) * fix: transactions not indexed on Moonbeam (#345) * fix: naming contract variables consistently (#343) * feat: get transaction detail by hash (#322) * fix: empty network detail due to hard coded network ID (#355, #324) * chore: update Postgres container configuration (#364) * feat(btpnetwork): remove redundant function (#369) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat(relayer): fix bug lacking table name on query (#370) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * refactor(mint-burn): refactor duplicated code (#378) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * chore: setup bsc testnet (#308) building containers, test. * chore: update to work with BSC testnet (#371) * fix: check token transfer against registered token contracts (#385) * refactor: disable auction and fee features (#383) * fix: check to only register native coin (#379) * test: add tests for /btpnetwork APIs (#332) * test(block-indexer): add missing test case for relay, relayer, transaction (#397) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * fix: get mint/burn events (#346) * feat: handle IRC2 token register on ICON (#395) Close #395 * refactor: add initial data for native coins (#395) * test: add networks API tests (#332) * feat: indexing BSC transactions - add transaction block_hash and block_hash_end for Moonbeam - add transfer token scripts, test mint/burn/tx for 4 tx types (ICON and Moonbeam) Ref: #312 * fix: indexing relay and count tx on Moonbeam (#398) * refactor(mint-burn): refactor duplicated code (#411) Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> * feat: add BSC mint/burn indexer (#311) - not tested with live testnet - refactor mint/burn on other networks * refactor: update ABI file names following deployment scripts (#416) * fix: invalid value of volumeLast24hChange, volume, mintVolumeLast24hChange in /btpnetwork (#416) * refactor: add block-indexer and fix finding token (#416) * add block-indexer * preload registered tokens and find token in db * docs: testing BSC deployment and transferring (#382) Ref #382 * fix: duplicate TransferStart's serial number (#427) Close #426 * feat: index registered relay on BSC (#309) addRelay and removeRelay actions of BMC * fix: Moonbeam mint/burn event (TransferSingle) is not always in events[0] (#416) * fix: upgraded to icon-sdk-js v1.1.2 to fix compatibility issues with public testnet (#437) * fix: get correct token ID from TransferBatch event on ICON (#428) * fix: handle Invalid params txHash error (#438) * fix(scripts): fix script for creating ICON network init data * refactor: replace Sidecar with Web3 for Moonbeam indexer (#442) - remove sidecar - work with btp.net * docs: add deployment guide for staging environment (#416) * fix: wrong data from api network/:id (#464) * fix: replace getting tokens from contract with from token_info table (#402) * refactor: update relay indexing for ICON and Moonbeam (#406) * refactor: handle and log more for block and pending transaction issues (#473) * refactor: integrate with local testnet - fix several transaction issues - add transfer script - update deployment guide Ref: #312 * feat: handle mint/burn events on BSC, Moonbeam with Web3 handler (#311) * docs: add guideline to get reward data from BMC (#307) * refactor: index relayer register/unregister with BMC (#488) * feat: get reward data from ICON BMC (#307) * refactor: update relay-candidates api (#490) * feat: add test case for transaction api (#439) * test: add some test cases for relay-candidates api (#445) * test: add test cases for relay api (#440) * feat: create NEAR block indexer (#494) * refactor: running indexers in separate processes and own log files (#494) * fix: logger is not properly initialized for separate log files (#494) * refactor: update database design (#380) - Remove id, add tx_hash as PK for tables - Rename token_info to registered_tokens - Remove tx.blockHash, tx.blockHashEnd * fix: fixing miscellaneous issues for staging deployment - initial script and database schema - cron jobs - API * fix: mismatch timezone between apps and database configuration (#493) * refactor: use tx_hash as PK in mint/burn tables (#380) * test: fix failed test cases in of transaction, mint/burn, relay. * test: add .env configuration for API integration test (#495) * refactor: update deployment docs and scripts, and Moonbeam mint/burn logs (#416) - bump v0.1.8 * fix: fix duplicated Moonbeam burn event - fix in Web3 mint/burn - add logId for mint/burn tx Ref: #521 * refactor: implement Web3 transaction handler for Ethereum based networks (#518) * docs: test relays, transactions for Berlin testnet (#416) * feat: add mint/burn for IRC2 contracts, from TransferBatch to Transfer event - note: changes are based on IRC2 contract was implemented following https://github.com/icon-project/IIPs/blob/master/IIPS/iip-2.md Close #526 * feat: handle mint/burn and transaction with ERC20 contracts (#529) * refactor: handle ICON pending blocks and transactions (#416) * refactor: check result of only tx sent to watched contracts (#416) * chore: bump to v0.2.2 * refactor: handle token register with ERC20 factory (#538) * refactor: update handling events and database following changes in contracts with ERC20 factory (#536) * bump to v0.2.3 * refactor: fix bug eslint (#545) * refactor: update block indexer to adapt with bsc network * refactor: remove moonbeam-indexer module (#550) * refactor: update interval timer for block indexer * refactor: move cronjob tasks into sourcecode #552 * feat: add harmony chain * refactor: remove unnecessary config * feat: add filter by create_at field in get transaction api #557 * refactor: migrate database queries #556 * feat: add transaction handler for wonderland nft #562 * feat: add slack notification #563 * feat: update buy tokens event * refactor: push transaction's log to slack #566 (#567) * refactor: push transaction's log to slack #566 Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * refactor: source code to adapt to multiple icon bmc * refactor: remove redundant files * refactor: prevent request from client that cannot get ip #566 * refactor: update query createtransaction_ips table #566 * Revert "refactor: remove redundant files" This reverts commit 7b63fec. * fix: push transaction to slack #580 * feat: check block-indexer can not get new block #583 * refactor: be-dev remove redundant files (#579) * refactor: remove redundant files Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * refactor: be-dev remove redundant files (#579) * refactor: remove redundant files Co-authored-by: Sang Lai <sanglt.cdn@gmail.com> * docs: add slack command for checking block-indexer's status * refactor: remove SLACK_COMMAND_API_KEY * refactor block-indexer's health check api * refactor: change indexer status message * refactor: change indexer status message * docs: btp-architecture * feat: update buy token event for wonderland presale * docs: add architecture image to readme file * fix: transaction api * fix: send straction to slack * fix: slack notification * refactor: remove redundant files * test: update block-indexer's test case * test: add token for testing * feat:adding filter for transaction api (#655) adding filter for transaction api * fix:wrong 24h volume value (#688) * feat: update logic handle token name * network optimize api get network information * network - optimize api get network information * network - move function getDataFromTable to common queries * network - get network information - add ONE_DAY_IN_MILLISECONDS constant * Optimize api get network information, from 2-5 seconds to 200-500 milliseconds (#719) optimize API to get network information Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> * Task/optimize network api (#725) * network - optimize API get network information Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> * fix: get network information find transaction with status equal 1 * docs: update doc to guide add a new network of EVM * feat(#714): integrate with near protocal (#721) Integrate with near protocal Co-authored-by: duongvonga2 <35133731+duongvonga2@users.noreply.github.com> * "resolve conflict" * resolve conflict * feat: update logic to register token * feat: revert eslint file Co-authored-by: Tien Do <tiendq@gmail.com> Co-authored-by: Sang Lai <Corgi@Sangs-MacBook-Pro.local> Co-authored-by: dangminhnhut1993 <dangminhnhut1993@gmail.com> Co-authored-by: Nhut Dang <nhinguyen@nhutdang.local> Co-authored-by: Dan <dantn93@gmail.com> Co-authored-by: Vọng Dương <vongduong@duongvongcse.local> Co-authored-by: duongvonga2 <35133731+duongvonga2@users.noreply.github.com>
To do
Fixes:
Guides:
https://www.icondev.io/btp-gitbook/btp-development-instructions
https://github.com/icon-project/btp/tree/icondao/docker-compose/goloop2moonbeam
The text was updated successfully, but these errors were encountered: