forked from kkrt-labs/kakarot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (106 loc) · 5.68 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[tool.poetry]
name = "kakarot"
version = "0.1.0"
description = "EVM interpreter written in Cairo, a sort of ZK-EVM emulator, leveraging STARK proof system."
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
cairo-lang = "^0.10.1"
openzeppelin-cairo-contracts = "0.5.0"
amarna = "^0.1.5"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
isort = "^5.10.1"
marshmallow-dataclass = "^8.5.9"
cairo-coverage = "^0.1.4"
pandas = "^1.5.1"
pytest-xdist = { version = "^3.0.2", extras = ["psutil"] }
setproctitle = "^1.3.2"
pysha3 = "^1.0.2"
web3 = "^5.31.1"
python-dotenv = "^0.21.0"
[tool.pytest.ini_options]
filterwarnings = [
"ignore:Using or importing the ABCs:DeprecationWarning", # from frozendict
"ignore:lexer_state will be removed in subsequent releases. Use lexer_thread instead.", # from lark
'ignore:abi.encode_abi_packed:DeprecationWarning', # from web3
]
asyncio_mode = "auto"
markers = [
"ArithmeticOperations",
"ADD: Opcode Value 0x01 - Addition operation",
"MUL: Opcode Value 0x02 - Multiplication operation",
"SUB: Opcode Value 0x03 - Subtraction operation",
"DIV: Opcode Value 0x04 - Integer division operation",
"SDIV: Opcode Value 0x05 - Signed integer division operation (truncated)",
"MOD: Opcode Value 0x06 - Modulo remainder operation",
"SMOD: Opcode Value 0x07 - Signed modulo remainder operation",
"ADDMOD: Opcode Value 0x08 - Modulo addition operation",
"MULMOD: Opcode Value 0x09 - Modulo multiplication operation",
"EXP: Opcode Value 0x0a - Exponential operation",
"SIGNEXTEND: Opcode Value 0x0b - Extend length of two's complement signed integer",
"ComparisonBitwiseLogicOperations",
"LT: Opcode Value 0x10 - Less-than comparison",
"GT: Opcode Value 0x11 - Greater-than comparison",
"SLT: Opcode Value 0x12 - Signed less-than comparison",
"SGT: Opcode Value 0x13 - Signed greater-than comparison",
"EQ: Opcode Value 0x14 - Equality comparison",
"ISZERO: Opcode Value 0x15 - Simple not operator",
"AND: Opcode Value 0x16 - Bitwise AND operation",
"OR: Opcode Value 0x17 - Bitwise OR operation",
"NOT: Opcode Value 0x19 - Bitwise NOT operation",
"SHL: Opcode Value 0x1b - Shift left",
"SHR: Opcode Value 0x1c - Logical shift right",
"SAR: Opcode Value 0x1d - Arithmetic shift right",
"SHA3: Opcode Value 0x20 - Compute Keccak-256 hash",
"EnvironmentalInformation",
"ADDRESS: Opcode Value 0x30 - Get address of currently executing account",
"BALANCE: Opcode Value 0x31 - Get balance of the given account",
"ORIGIN: Opcode Value 0x32 - Get execution origination address",
"CALLER: Opcode Value 0x33 - Get caller address",
"CALLVALUE: Opcode Value 0x34 - Get deposited value by the instruction/transaction responsible for this execution",
"CALLDATALOAD: Opcode Value 0x35 - Get input data of current environment",
"CALLDATASIZE: Opcode Value 0x36 - Get size of input data in current environment",
"CALLDATACOPY: Opcode Value 0x37 - Copy input data in current environment to memory",
"CODESIZE: Opcode Value 0x38 - Get size of code running in current environment",
"CODECOPY: Opcode Value 0x39 - Copy code running in current environment to memory",
"RETURNDATASIZE: Opcode Value 0x3d - Get size of output data from the previous call from the current environment",
"BlockInformation",
"COINBASE: Opcode Value 0x41 - Get the block's beneficiary address",
"TIMESTAMP: Opcode Value 0x42 - Get the block's timestamp",
"NUMBER: Opcode Value 0x43 - Get the block's number",
"DIFFICULTY: Opcode Value 0x44 - Get the block's difficulty",
"GASLIMIT: Opcode Value 0x45 - Get the block's gas limit",
"CHAINID: Opcode Value 0x46 - Get the chain ID",
"SELFBALANCE: Opcode Value 0x47 - Get the balance of the current contract",
"BASEFEE: Opcode Value 0x48 - Get the base fee of the current block",
"StackMemoryStorageFlowOperations",
"MLOAD: Opcode Value 0x51 - Load word from memory",
"MSTORE: Opcode Value 0x52 - Save word to memory",
"MSTORE8: Opcode Value 0x53 - Save byte to memory",
"JUMP: Opcode Value 0x56 - Alter the program counter",
"JUMPI: Opcode Value 0x57 - Conditionally alter the program counter",
"PC: Opcode Value 0x58 - Get the value of the program counter prior to the increment",
"MSIZE: Opcode Value 0x59 - Get the size of active memory in bytes",
"JUMPDEST: Opcode Value 0x5b - Mark a valid destination for jumps",
"PushOperations",
"PUSH Opcodes 0x60 ~ 7f - Place n-byte item on stack",
"DuplicationOperations",
"DUP: Opcodes 0x80 ~ 8f - Duplicate nth stack item",
"ExchangeOperations",
"SWAP: Opcodes 0x90 ~ 9f - Exchange 1st and nth stack items",
"LoggingOperations",
"LOG: Opcodes 0xa0 ~ a4 - Append log record with n topics",
"SystemOperations",
"RETURN: Opcode Value 0xf3 - Halt execution returning output data",
"REVERT: Opcode value 0xfd - Halt execution reverting state changes",
"INVALID: Opcode Value 0xfe - Designated invalid instruction",
"SolmateERC20",
"IntegrationTestContract",
]
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"