derekpierre
|
2fa499ef04
|
Add tests to account for ABI types.
|
2023-10-26 20:22:28 +02:00 |
Piotr Roslaniec
|
097ffad90e
|
feat!: add condition type to condition schemas
|
2023-08-23 20:07:24 +02:00 |
James Campbell
|
19a1c4e7b3
|
Rename key to index in Return Value Test
|
2022-12-06 14:53:30 +00:00 |
James Campbell
|
4250e9f314
|
Restrict return value `key` to only be an integer
|
2022-12-05 16:58:57 +00:00 |
Kieran Prasch
|
38e8259e37
|
Cleanup test conditions data
|
2022-11-17 15:20:43 +00:00 |
James Campbell
|
b7f23c7c16
|
Investigate types changing in condition parameters
|
2022-11-17 15:20:41 +00:00 |
James Campbell
|
417c8b0fd4
|
Fix mocking of tester chain
|
2022-11-14 14:32:13 +00:00 |
James Campbell
|
3bbbc7b262
|
Fix function abi schema to be a dict
|
2022-11-14 14:31:54 +00:00 |
James Campbell
|
4ce6f72695
|
Add basic test for custom abi condition
|
2022-11-14 14:31:54 +00:00 |
Kieran Prasch
|
19d3f16635
|
chain name -> chain id in test data.
|
2022-11-09 13:32:49 +00:00 |
derekpierre
|
96c829d5a6
|
ReturnValueTest can now take any valid value type (including None) for comparison - this provides flexibility based on the result of a contract call.
String value types need to be quoted, but context variables are a special case of strings that don't need to be.
Added tests.
|
2022-10-18 20:09:25 +02:00 |
derekpierre
|
0379ce7114
|
Parameter types for ContractConditions do not have to be strings - we need to be careful with types when checking whether a parameter is a context variable or not.
ERC721 ownerOf function takes an int and not a string which caused failures.
Added/updated tests.
|
2022-10-18 20:09:25 +02:00 |
derekpierre
|
7e8d9eb7f1
|
Modify tests to use context instead of python parameters. Add test for use of user customized context variable.
Cleanup some test code.
|
2022-10-18 20:09:25 +02:00 |
Kieran Prasch
|
b7145c0ab4
|
Remove core shims; Refactor for mk-embedded conditions.
|
2022-10-18 20:08:51 +02:00 |
Kieran Prasch
|
2948a198c0
|
Unit and acceptance tests for condition serialization and evaluation
|
2022-10-18 20:07:10 +02:00 |