Reduce EVM module dependencies (#5285)

Refactor crypto, datatypes, and plugin-api to reduce plugin APIs in the EVM.

Split crypto into crypto services and crypto algorithms
Reverse the dependency between datatyps and plugin-api.
Remove plugin Hash and Address types (use datatypes)
Move PublicKey and Quantity into datatypes.

Lots of changes to imports and build files, and some fromPlugin calls removed.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Danno Ferrin <danno.ferrin@shemnon.com>
Co-authored-by: Justin Florentine <justin+github@florentine.us>
This commit is contained in:
Danno Ferrin
2023-03-30 17:34:37 -06:00
committed by GitHub
parent 1b29f686e9
commit ebbc0df773
259 changed files with 445 additions and 418 deletions

View File

@@ -1,6 +1,6 @@
dependencies {
api project(':util')
api project(':crypto')
api project(':crypto:algorithms')
api 'org.slf4j:slf4j-api'
implementation 'com.fasterxml.jackson.core:jackson-databind'