Increase deafult gas limit to 600K

pull/2/head
Michael Scoff 7 years ago
parent 78e5da69c5
commit f305c4b211
  1. 2
      Trust/Transfer/Types/GasLimitConfiguration.swift
  2. 2
      TrustTests/Transfer/Types/GasLimitConfigurationTests.swift

@ -6,5 +6,5 @@ import BigInt
public struct GasLimitConfiguration {
static let `default` = BigInt(90_000)
static let min = BigInt(21_000)
static let max = BigInt(400_000)
static let max = BigInt(600_000)
}

@ -9,6 +9,6 @@ class GasLimitConfigurationTests: XCTestCase {
func testDefault() {
XCTAssertEqual(BigInt(90000), GasLimitConfiguration.default)
XCTAssertEqual(BigInt(21000), GasLimitConfiguration.min)
XCTAssertEqual(BigInt(400000), GasLimitConfiguration.max)
XCTAssertEqual(BigInt(600000), GasLimitConfiguration.max)
}
}

Loading…
Cancel
Save