Commit Graph

1740 Commits (e949123a08c42adead8cc130d5d9372d857759ab)

Author SHA1 Message Date
jMyles 092d9049db Facility to convert fake key to real one for testing. 2020-01-08 16:43:39 -08:00
jMyles e88d0bcf42 A few updates to performance mocks. Most notably, and strangest, a quick list of all the integers which, when cast to string along with the test string, produce a value in bytes which can't be used as a public key. Seemed like the simplest way to proceed, but I'm open to ideas. 2020-01-08 16:43:39 -08:00
jMyles 32593b432c Flask wants testing set to true in order for this to be treated like a test client. 2020-01-08 16:43:39 -08:00
jMyles 3f372d4053 Comments and new mocks for highperf Alice test. 2020-01-08 16:43:39 -08:00
jMyles 91e757b021 highperf mocked ursula fleet is now variable in size. 2020-01-08 16:43:39 -08:00
jMyles 949cea211a Up and down in the water?! A mock Bob for working with highperf mock Ursulas. 2020-01-08 16:43:39 -08:00
jMyles 703aeeee02 Need mock message verification in more places than were initially obvious. 2020-01-08 16:43:39 -08:00
jMyles 2e0fb975ae We need to be able to mock specific routes individually to test this. 2020-01-08 16:43:39 -08:00
jMyles d06b92cd45 Testing showing JIT validation of Ursula, with TODO showing where we might eventually do that. 2020-01-08 16:43:39 -08:00
jMyles 5de196329a New fixture for high-performance mocked Alice, which is compatible with Ursulas fixture in previous commit. 2020-01-08 16:43:39 -08:00
jMyles 377d88c81c Making fixture out of high-performance mocked ursulas. 2020-01-08 16:43:39 -08:00
jMyles 367195d5e7 Moving performance mocks to separate module. 2020-01-08 16:43:39 -08:00
jMyles dd9f866ba7 Collating all mocks needed to make high-performance mock ursulas. 2020-01-08 16:43:39 -08:00
jMyles 80778dc957 Pass entire class throug in order to instantiate NodeSprout or node instance. 2020-01-08 16:43:39 -08:00
jMyles 7df1fde295 New test module for discovery phases. 2020-01-08 16:43:39 -08:00
jMyles f7e90f4bc3 Updating test to account for use of NodeSprout. 2020-01-08 16:43:39 -08:00
jMyles bc6950dd8f Better tracking of mock verifications. 2020-01-08 16:43:39 -08:00
jMyles 0555018ff1 Test showing #1450. 2020-01-08 16:43:39 -08:00
jMyles cd29869ac4 Crazy web of patches. These are the minimum mocks required to produce 5000 Ursulas in the timeframe required for a test. 2020-01-08 16:43:39 -08:00
jMyles d329b98293 A fast mock public key. 2020-01-08 16:43:39 -08:00
jMyles 6a336aecbd Insane monkey patching block. This is how you make several thousand Ursulas in a test. 2020-01-08 16:43:39 -08:00
David Núñez ebb58ae48d Enter the Sidekick: assisting ContractAdministrator to deploy preallocation contracts 2020-01-03 12:13:53 +01:00
David Núñez 4e8caac910 Use approveAndCall also when creating a stake in StakingEscrow
* Reduces stake creation to a single TX
2020-01-03 12:13:53 +01:00
vzotova d1cb098d1e receiveApproval method for PreallocationEscrow 2020-01-03 12:13:53 +01:00
Kieran R. Prasch 88386c91f9 Respond to RFCs in PR #1536 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 8cf8397726 Adjustments to config tests to loosen up a little and allow for config versioning to be seperately tested. 2020-01-02 12:41:44 -08:00
Kieran R. Prasch f501f6dedb Remove stale password assertions (UX no longer requires auth for 'view') 2020-01-02 12:41:44 -08:00
Kieran R. Prasch 4324618128 Disable hardcoded seednodes in conftest. 2020-01-02 12:41:44 -08:00
vzotova e66058530e Fixes #1349, enable re-staking by default 2019-12-26 13:21:12 +03:00
vzotova 4f0a49ff4a Upgradeability test revision 2019-12-26 13:01:11 +03:00
vzotova bb15e4bad1 Apply suggestions from code review #1407 2019-12-26 13:01:10 +03:00
vzotova 686a977f43 Test flag for StakingEscrow in administrator class 2019-12-26 13:01:10 +03:00
vzotova a473357eca Fix after rebasing 2019-12-26 13:01:10 +03:00
vzotova 6843f309f4 Reentrancy protection test for cancelBid 2019-12-26 13:01:09 +03:00
vzotova 3c000d5742 Fixed integration test 2019-12-26 13:01:08 +03:00
vzotova 5d522666d4 Fixed worklock tests 2019-12-26 13:01:08 +03:00
vzotova f7c0401ff5 Test flag for multiple worklock in StakingEscrow 2019-12-26 13:01:08 +03:00
vzotova acd8f50e16 Update test_worklock 2019-12-26 13:01:07 +03:00
vzotova b454a0fd40 Completed tests for burn tokens 2019-12-26 13:01:06 +03:00
vzotova 73e0b6378c Explicit StakingEscrow and WorkLock initialization 2019-12-26 13:01:06 +03:00
vzotova 4dcb5b201d Apply suggestions from code review #1470
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: David Núñez <david@nucypher.com>
2019-12-24 19:01:06 +03:00
vzotova 9def52d817 Fixed tests after contract version integration 2019-12-24 19:01:05 +03:00
vzotova 52bba7884c Completed upgradeability test 2019-12-24 19:01:05 +03:00
vzotova adb11d6785 Test for multi-version contract deployment 2019-12-24 19:01:05 +03:00
vzotova 98185a99c4 Search using contract version, checking version while deployment 2019-12-24 19:01:04 +03:00
vzotova 24b7fc3539 Versioned contract class, contract version in registry, ability to remove parameters from constructor in deployers (overrides) 2019-12-24 19:01:04 +03:00
vzotova 4ce0a3658b Upgradability test: download contracts from github, master branch 2019-12-24 19:01:03 +03:00
vzotova 7002734e0b Test for multi-source solidity compilation 2019-12-24 19:01:03 +03:00
vzotova b140a03972 SolidityCompiler: ability to use multiple directories for compilation 2019-12-24 19:01:02 +03:00
vzotova 79f50206c6 Removed unnecessary * from solidity docs 2019-12-24 19:01:02 +03:00