Skip to content

Commit

Permalink
Merge pull request #90 from FuelLabs/sophie/erc20-sol-example
Browse files Browse the repository at this point in the history
chore: Add ERC20 solidity example back
  • Loading branch information
sdankel authored Jun 3, 2024
2 parents 895c028 + e38eec5 commit 34b0a0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/src/features/editor/examples/solidity/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { ExampleMenuItem } from "../../components/ExampleDropdown";
import { EXAMPLE_SOLIDITY_CONTRACT_COUNTER } from "./counter";
// import { EXAMPLE_SOLIDITY_CONTRACT_ERC20 } from "./erc20";
import { EXAMPLE_SOLIDITY_CONTRACT_ERC20 } from "./erc20";
import { EXAMPLE_SOLIDITY_CONTRACT_VOTING } from "./voting";

export const EXAMPLE_SOLIDITY_CONTRACTS: ExampleMenuItem[] = [
{ label: 'Counter.sol', code: EXAMPLE_SOLIDITY_CONTRACT_COUNTER },
// TODO: add this back once it works again with charcoal.
// { label: 'ERC20.sol', code: EXAMPLE_SOLIDITY_CONTRACT_ERC20 },
{ label: 'ERC20.sol', code: EXAMPLE_SOLIDITY_CONTRACT_ERC20 },
{ label: 'Voting.sol', code: EXAMPLE_SOLIDITY_CONTRACT_VOTING },
];

2 changes: 1 addition & 1 deletion deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN cargo chef prepare --recipe-path recipe.json
FROM chef as builder

# Install charcoal
RUN cargo install --git https://github.com/camden-smallwood/charcoal.git --rev 2ff426711f290186f166d424934988a6a9bb02d4
RUN cargo install --git https://github.com/camden-smallwood/charcoal.git --rev 7c2fd7d1539d15304616269f11dbe20c1bd5d6ca

ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
COPY --from=planner /build/recipe.json recipe.json
Expand Down

0 comments on commit 34b0a0f

Please sign in to comment.