Skip to content

Polkadot#676

Draft
thelostone-mc wants to merge 3 commits intomainfrom
polkadot
Draft

Polkadot#676
thelostone-mc wants to merge 3 commits intomainfrom
polkadot

Conversation

@thelostone-mc
Copy link
Member

@thelostone-mc thelostone-mc commented Apr 8, 2025

Config File : https://github.com/allo-protocol/allo-v2/blob/polkadot/polkadot.hardhat.config.ts

Compiles Contract
npx hardhat compile --network westendAssetHub --config polkadot.hardhat.config.ts

Deploy Registry (oz-upgradeable contract)

When attempting to deploy https://github.com/allo-protocol/allo-v2/blob/main/scripts/core/deployRegistry.ts

This currently fails with

Failed to instantiate contract: Module(ModuleError { index: 60, error: [26, 0, 0, 0], message: Some("CodeRejected") })

image

Also attempted by changing the compiler source and path but the same error turns up

  resolc: {
    compilerSource: 'binary',
    settings: {
      optimizer: {
        enabled: true,
        runs: 1000,
      },
      evmVersion: 'istanbul',
      standardJson: true,
      compilerPath: '/Users/thelostone-mc/Downloads/resolc-universal-apple-darwin',
    },
  },

@smiasojed
Copy link

Could you please check the compiler version: /Users/thelostone-mc/Downloads/resolc-universal-apple-darwin --version

@thelostone-mc
Copy link
Member Author

@smiasojed It's Solidity frontend for the revive compiler version 0.1.0-dev.13+commit.ad33153.llvm-18.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants