-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* (WIP) Refactor synapse and dendrite to verify body hash in signature * EUREKA! * cleanup print statements * remove (now) unnecessary metaclass override protection * remove metaclass from Synapse def * fix commit * remove print statements * run black * add typehints for request * (WIP) update synapse tests * move hash to utils * remove extra logging * fix repackaging request, inspect body and hash to compare against header hashes * remove streaming example, moved to subnet-1 template * put blacklist first so we don't load the body if we're gonna blacklist anyway * fix axon tests * fix bt. import * fix typehint bt. * fix test relative to header changes * run black * add reason to error logging * create dependency for all forward_fn routes to verify body before passing to synapse function * fix test (again) * add md5 hash option * remove extra trace
- Loading branch information
Showing
6 changed files
with
144 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.