Skip to content

Commit

Permalink
⬆️ Bump to Wake
Browse files Browse the repository at this point in the history
  • Loading branch information
jaczkal committed Nov 22, 2023
1 parent 9e762b3 commit 0286a98
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 17 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

.woke-build
.woke-logs
.wake-build
.wake-logs
.env
pytypes
__pycache__/
*.py[cod]
.hypothesis/
woke-coverage.cov
wake-coverage.cov
.wake
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Gain as much Dungeon tokens as you can

## Setup
- Install [Woke](ackeeblockchain.com/woke/docs/latest/)
- `woke init pytypes`
- Install [Wake](ackeeblockchain.com/wake/docs/latest/)
- `wake init pytypes`
- Write exploit
- `woke test`
- `wake test`
2 changes: 1 addition & 1 deletion contracts/Dungeon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "./FinalBoss.sol";
import "./Spawner.sol";

/* Helpers */
import "woke/console.sol";
import "wake/console.sol";

contract Dungeon {
Spawner public $spawner;
Expand Down
2 changes: 1 addition & 1 deletion contracts/Spawner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity =0.8.20;

import "./NPC.sol";

import 'woke/console.sol';
import 'wake/console.sol';

contract Spawner {
address private $dungeon;
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from woke.deployment import *
from wake.deployment import *

NODE_URL = "ENTER_NODE_URL_HERE"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_default.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from woke.testing import *
from wake.testing import *

from pytypes.contracts.Dungeon import Dungeon

Expand Down
10 changes: 3 additions & 7 deletions woke.toml → wake.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
[compiler.solc]
ignore_paths = ["node_modules", ".woke-build", "venv", "lib"]
exclude_paths = ["node_modules", "venv", ".venv", "lib", "script", "test"]
include_paths = ["node_modules"]
evm_version = "shanghai"

[compiler.solc.optimizer]
enabled = false
runs = 200

[detectors]
exclude = []
ignore_paths = ["node_modules", ".woke-build", "venv", "lib"]
ignore_paths = ["venv", ".venv", "test"]
exclude_paths = ["node_modules", "lib", "script"]

[testing]
cmd = "anvil"
Expand Down

0 comments on commit 0286a98

Please sign in to comment.