@@ -11,7 +11,6 @@ type Config struct {
1111 ServiceEndpoint string `env:"HTTP_SERVICE_ENDPOINT"`
1212 ChainEndpoint string `env:"CHAIN_ENDPOINT"`
1313 DatabaseDSN string `env:"DATABASE_DSN"`
14- DatasourceDSN string `env:"DATASOURCE_DSN"`
1514 BootNodeMultiAddr string `env:"BOOTNODE_MULTIADDR"`
1615 IoTeXChainID int `env:"IOTEX_CHAINID"`
1716 ProjectContractAddress string `env:"PROJECT_CONTRACT_ADDRESS,optional"`
@@ -32,43 +31,40 @@ var (
3231 ServiceEndpoint : ":9001" ,
3332 ChainEndpoint : "https://babel-api.testnet.iotex.io" ,
3433 DatabaseDSN : "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ,
35- DatasourceDSN : "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ,
3634 BootNodeMultiAddr : "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o" ,
3735 IoTeXChainID : 2 ,
38- ProjectContractAddress : "0x02feBE78F3A740b3e9a1CaFAA1b23a2ac0793D26 " ,
36+ ProjectContractAddress : "0x2339644f65c371Ca36b335A7eC3EB8AD8CBd5F51 " ,
3937 IPFSEndpoint : "ipfs.mainnet.iotex.io" ,
4038 DIDAuthServerEndpoint : "didkit:9999" ,
41- SequencerPubKey : "" ,
39+ SequencerPubKey : "0x04df6acbc5b355aabfb2145b36b20b7942c831c245c423a20b189fab4cf3a3dba3d564080841f2eb4890c118ca5e0b80b25f81269621c5e28273a962996c109afa " ,
4240 LogLevel : int (slog .LevelDebug ),
4341 }
4442 // local debug default config for coordinator; all config elements come from docker-compose-dev.yaml in root of project
4543 defaultDebugConfig = & Config {
4644 ServiceEndpoint : ":9001" ,
4745 ChainEndpoint : "https://babel-api.testnet.iotex.io" ,
4846 DatabaseDSN : "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable" ,
49- DatasourceDSN : "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable" ,
5047 BootNodeMultiAddr : "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o" ,
5148 IoTeXChainID : 2 ,
52- ProjectContractAddress : "0x02feBE78F3A740b3e9a1CaFAA1b23a2ac0793D26 " ,
49+ ProjectContractAddress : "0x2339644f65c371Ca36b335A7eC3EB8AD8CBd5F51 " ,
5350 IPFSEndpoint : "ipfs.mainnet.iotex.io" ,
5451 DIDAuthServerEndpoint : "localhost:9999" ,
5552 ProjectCacheDirectory : "./project_cache" ,
56- SequencerPubKey : "" ,
53+ SequencerPubKey : "0x04df6acbc5b355aabfb2145b36b20b7942c831c245c423a20b189fab4cf3a3dba3d564080841f2eb4890c118ca5e0b80b25f81269621c5e28273a962996c109afa " ,
5754 LogLevel : int (slog .LevelDebug ),
5855 }
5956 // integration default config for coordinator; all config elements come from Makefile in `integration_test` entry
6057 defaultTestConfig = & Config {
6158 ServiceEndpoint : ":19001" ,
6259 ChainEndpoint : "https://babel-api.testnet.iotex.io" ,
6360 DatabaseDSN : "postgres://test_user:test_passwd@localhost:15432/test?sslmode=disable" ,
64- DatasourceDSN : "postgres://test_user:test_passwd@localhost:15432/test?sslmode=disable" ,
6561 BootNodeMultiAddr : "/dns4/bootnode-0.testnet.iotex.one/tcp/4689/ipfs/12D3KooWFnaTYuLo8Mkbm3wzaWHtUuaxBRe24Uiopu15Wr5EhD3o" ,
6662 IoTeXChainID : 2 ,
6763 ProjectContractAddress : "" , //"0x02feBE78F3A740b3e9a1CaFAA1b23a2ac0793D26",
6864 IPFSEndpoint : "ipfs.mainnet.iotex.io" ,
6965 DIDAuthServerEndpoint : "localhost:19999" ,
7066 ProjectFileDirectory : "./testdata" ,
71- SequencerPubKey : "" ,
67+ SequencerPubKey : "0x04df6acbc5b355aabfb2145b36b20b7942c831c245c423a20b189fab4cf3a3dba3d564080841f2eb4890c118ca5e0b80b25f81269621c5e28273a962996c109afa " ,
7268 LogLevel : int (slog .LevelDebug ),
7369 }
7470)
0 commit comments