HausDAO / daohaus-app

long live pokemol
https://daohaus.club/
Other
134 stars 79 forks source link

deploying poster multiple networks #1934

Closed brossetti1 closed 2 years ago

brossetti1 commented 2 years ago

GitHub Issue

https://github.com/HausDAO/daohaus-app/issues/1841

Changes

deploy poster to the following chains:

Checks

Before making your PR, please check the following:

brossetti1 commented 2 years ago

fixes https://github.com/HausDAO/daohaus-app/issues/1841

brossetti1 commented 2 years ago

only thing i have not done is verify the celo contract - it looks like blockscouts verify endpoint is down.

attaching the correct files for verification:

Poster.sol at https://github.com/onPoster/contract

compiled json file:

{
    "language": "Solidity",
    "settings": {
        "optimizer": {
            "enabled": true,
            "runs": 200
        },
        "outputSelection": {
            "*": {
            "": ["ast"],
            "*": ["abi", "metadata", "devdoc", "userdoc", "storageLayout", "evm.legacyAssembly", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers", "evm.gasEstimates", "evm.assembly"]
            }
        },
        "evmVersion": "byzantium"
    }
}
plor commented 2 years ago

~Was it not possible to use the deterministic contract address documented in the Poster repo to get the same address across all chains? This is the address advertised by the Poster team, so it would be useful to get that address if possible.~

We aren't doing this, we are ok using our own Poster deploys.

brossetti1 commented 2 years ago

ah i was just deploying via remix - hmm i can take a look at that -- just grabbed the contract and started deploying, whoops

plor commented 2 years ago

Ready to merge, my above comment has be rescinded.