You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kotlin-reflect is transitively included via jackson-module-kotlin dependency, which is used only in a few cases. Removing this dependency will lower the size of our jars by ~3mb. The only two modules that need / can include the reflect library are ethers-abigen and ethers-abigen-plugin.
Remove jackson-module-kotlin dependency from jackson gradle bundle
Implement custom deserializer for RpcError class
Use JsonProperty annotation on most other classes that will break
Deprecate AbiType.Tuple.struct(KClass, varargs AbiType) function, add and replace it with struct(Class, StructFactory, varargs AbiType) in abigen contracts. Will need to explicitly define dependency on kotlin-reflect for now and remove it when deprecated functions are removed.
The text was updated successfully, but these errors were encountered:
Module
Other
📝 Description
kotlin-reflect
is transitively included viajackson-module-kotlin
dependency, which is used only in a few cases. Removing this dependency will lower the size of our jars by ~3mb. The only two modules that need / can include the reflect library areethers-abigen
andethers-abigen-plugin
.jackson-module-kotlin
dependency fromjackson
gradle bundleRpcError
classJsonProperty
annotation on most other classes that will breakAbiType.Tuple.struct(KClass, varargs AbiType)
function, add and replace it withstruct(Class, StructFactory, varargs AbiType)
in abigen contracts. Will need to explicitly define dependency onkotlin-reflect
for now and remove it when deprecated functions are removed.The text was updated successfully, but these errors were encountered: