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
Merge branch 'develop' into experimental/EIP-1559-combined
* develop:
Fix EthereumTransaction decoding bug. Fix appropriate test result for such Add test to check whether all transactions in block decodes well.
Fix percentiles array extension out of range index bug.
Fixin typos and revert unnecessary code changes.
Add comments to GasOracle & common methods - Add `BlockNumber` enum to enable strong typing in block number management. - Full test coverage of GasOracle public methods. - Clean GasOracle class.
Code cleaning & unnecessary changes revert.
Move back decode([Any].Type) methods
Fixups - Update percentile arrays method. - fix JSONRPCmethod validation bug -
Rewrite GasOracle - Implement generic decodeHex methods for T: DecodableFromHex, [T], [[T]]. - Make RPC API `feeHistory` call internal. - Reimplement `tipFeePercentiles` to return array of percentiles of last tips. - Reimplement `baseFeePercentiles` to return array of percentiles of last baseFee. - Rename `bothFeesPercentiles` to return tuple of arrays of percentiles of last both tips and baseFee. - `JSONRPCresponse` now can decode `Web3.Oracle.FeeHistory` - `JSONRPCparams` now can encode `[Double]` - Add `OracleTests` - `testPretictBaseFee` - `testPredictTip`
Rewrite GasOracle - Now it works with feeHistory JRON RPC Ethereum call - Now all method returns percentiles, which user set on object init.
Move AnyCodingKeys to appropriate place
Delete unused hexDecode methods for KeyedDecodingContainer.
Add 2 dimension array decodeHex method. - Rename decodeHex method to swift name convention. - Add FeeHistory struct initializer.
Implement feeHistory usage for Gas cost prediction - Add method `decodeHex` for `Arrays<T> where T: DecodableFromHex`. - Add feeHistory request. - Add public feeHistory API call - Move GasOracle from `Web3` scope to `web3.Eth` scope (watch out case of first "w") - Change Oracle struct to work with feeHistory API call. - Refactor `JSONRPCmethod` to make it more explicit. - Refactor `InfuraWebsockerMethod` with a styling.
Add tests Gas Oracle
Fixes by PR review
Fixed by PR review.
Fixes by PR review.
Add legacy gas price prediction method (pre EIP-1559)
Revert "Revert "Implement Oracle class""
# Conflicts:
# Sources/web3swift/Convenience/Decodable+Extensions.swift
# Sources/web3swift/Web3/Web3+Structures.swift
0 commit comments