Skip to content

Unable to deploy an Upgradeable ERC20 Token #231

@CocDap

Description

@CocDap

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge Version: 1.1.0-stable

What version of Foundryup are you on?

foundryup: 1.1.0

What command(s) is the bug in?

forge script script/DeployMyToken.s.sol:DeployTokenImplementation --rpc-url https://testnet-passet-hub-eth-rpc.polkadot.io --private-key --broadcast

Operating System

macOS (Apple Silicon)

Describe the bug

I follow this tutorial https://www.quicknode.com/guides/ethereum-development/smart-contracts/how-to-create-and-deploy-an-upgradeable-erc20-token , but deploy on Passet Hub

I already installl foundry polkadot and run forge build --resolc successfully

when i try to deploy the script to deploy ERC20 ,

I am getting errror:

Error: Failed to send transaction

Context:
- server returned an error response: error code 1010: Invalid Transaction

My script is forge script script/DeployMyToken.s.sol:DeployTokenImplementation --rpc-url https://testnet-passet-hub-eth-rpc.polkadot.io --private-key <my private key> --broadcast

Got a question: Do PolkaVM support for common contract upgradable patterns such as Beacon Proxy or UUPS Proxy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions