首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安全基础设施第3步中的错误

安全基础设施第3步中的错误
EN

Ethereum用户
提问于 2022-02-02 07:15:18
回答 1查看 77关注 0票数 0

我使用安全基础设施在仲裁-rinkeby上建立gnosis安全。

但是,当运行步骤3(添加链信息)时,我的控制台抛出以下错误-

代码语言:javascript
复制
root@1fd61b7d8e90:/app/src# python manage.py loaddata chain.json
2022-02-02 07:08:19,819 [INFO] [MainProcess] Chain update. Triggering CGW webhook
2022-02-02 07:08:19,819 [DEBUG] [MainProcess] Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
2022-02-02 07:08:19,821 [DEBUG] [MainProcess] Starting new HTTP connection (1): nginx:8000
2022-02-02 07:08:19,823 [DEBUG] [MainProcess] http://nginx:8000 "POST /v1/flush/some_random_token HTTP/1.1" 404 153
2022-02-02 07:08:19,823 [ERROR] [MainProcess] 404 Client Error: Not Found for url: http://nginx:8000/v1/flush/some_random_token
Installed 1 object(s) from 1 fixture(s)

我可以确认,当我运行curl http://localhost:8000/cfg/api/v1/chains时,我添加的ChainInfo不会出现。相反,它返回(404)错误。

作为参考,这是我的chain.json文件-

代码语言:javascript
复制
[
    {
        "model": "chains.chain",
        "pk": 421611,
        "fields": {
            "relevance": 100,
            "name": "Arbitrum Testnet",
            "short_name": "arb-rin",
            "description": "",
            "l2": true,
            "rpc_authentication": "NO_AUTHENTICATION",
            "rpc_uri": "https://arb-rinkeby.g.alchemy.com/v2/Blablabla",
            "safe_apps_rpc_authentication": "NO_AUTHENTICATION",
            "safe_apps_rpc_uri": "https://arb-rinkeby.g.alchemy.com/v2/Blablabla",
            "block_explorer_uri_address_template": "https://testnet.arbiscan.io/address/{{address}}",
            "block_explorer_uri_tx_hash_template": "https://testnet.arbiscan.io/tx/{{txHash}}",
            "currency_name": "Ether",
            "currency_symbol": "ETH",
            "currency_decimals": 18,
            "currency_logo_uri": "chains/4/currency_logo.jpg",
            "transaction_service_uri": "http://localhost:8000/txs",
            "vpc_transaction_service_uri": "http://localhost:8000/txs",
            "theme_text_color": "#ffffff",
            "theme_background_color": "#000000",
            "ens_registry_address": null,
            "recommended_master_copy_version": "1.3.0"
        }
    }
]
EN

回答 1

Ethereum用户

回答已采纳

发布于 2022-02-03 10:21:31

这似乎是一个问题,加载json,我们在它,同时,您可以使用http://localhost:8000/cfg/admin添加您的链

票数 1
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/120537

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档