Skip to content

Instantly share code, notes, and snippets.

View akp111's full-sized avatar
💪

Ashis Kumar Pradhan akp111

💪
View GitHub Profile
```
panic: delete-chain-config flag redefined: chain-id
goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0x1400161f000, 0x14001fb74a0)
github.com/spf13/[email protected]/flag.go:848 +0x50c
github.com/spf13/pflag.(*FlagSet).VarPF(0x1400161f000, {0x108d6b2a0, 0x14000f459a0}, {0x1075ee4d4, 0x8}, {0x0, 0x0}, {0x10760df2c, 0x14})
github.com/spf13/[email protected]/flag.go:831 +0xf8
github.com/spf13/pflag.(*FlagSet).VarP(...)
github.com/spf13/[email protected]/flag.go:837
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
import Web3 from "web3";
import { rolesABI } from "../js/roles";
// var bodyParser = require("body-parser");
//Web3 and metamask
//const MetaMaskConnector = require("node-metamask");
const delay = require('delay');