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

@@ -29,13 +29,13 @@ jar {
}
dependencies {
api project(':plugin-api')
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
implementation project(':crypto')
implementation project(':crypto:algorithms')
implementation project(':ethereum:rlp')
implementation 'com.google.guava:guava'
implementation 'org.apache.tuweni:tuweni-bytes'
implementation 'org.apache.tuweni:tuweni-units'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'