Skip to content

Possible incomplete forge create command in contracts/README.md #16

@patrascuionel

Description

@patrascuionel

Followed the given command:

forge create \
    --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
    --rpc-url http://localhost:8545 \
    --broadcast \
    ChatBot \
    --constructor-args localhost 00d795c033fb4b94873d81b6327f5371768ffc6fcf 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266

And created mine and it fails due to missing --evm-version paris:

forge create src/SubContract.sol:SubContract --broadcast --rpc-url https://testnet.sapphire.oasis.dev -v --private-key 951***e27 --constructor-args "Sample_1" "0xF4906b5F6D8D6f0f0512187C826729f027ADcb4B" "0x00eac11dbccf10c68be35adf2fcf5ed09fecace79c"
Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information. 
To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment. 

[⠊] Compiling...
No files changed, compilation skipped
Error: contract was not deployed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions