on master help sign in
fix: use SET_PROXY gas limits for transfer proxy setting
a850d7fMatt Condon (shrugs)
src/lib/constants.js−1
@@ -22,7 +22,6 @@ const SEED_ENTROPY_BITS = 128;
22const GAS_LIMITS = {
22const GAS_LIMITS = {
23 SPAWN: 250000,
23 SPAWN: 250000,
24 TRANSFER: 550000,
24 TRANSFER: 550000,
25− CANCEL_TRANSFER: 550000, //NOTE: no samples
26 CONFIGURE_KEYS: 100000,
25 CONFIGURE_KEYS: 100000,
27 SET_PROXY: 120000,
26 SET_PROXY: 120000,
28 //
27 //
src/views/Admin/AdminCancelTransfer.js+1−1
@@ -28,7 +28,7 @@ function useCancelTransfer() {
28 const _point = need.point(pointCursor);
28 const _point = need.point(pointCursor);
29
29
30 const { construct, confirmed, bind } = useEthereumTransaction(
30 const { construct, confirmed, bind } = useEthereumTransaction(
31− GAS_LIMITS.CANCEL_TRANSFER
31+ GAS_LIMITS.SET_PROXY
32 );
32 );
33
33
34 useLifecycle(() => {
34 useLifecycle(() => {
src/views/Admin/AdminTransfer.js+1−1
@@ -32,7 +32,7 @@ function useTransfer() {
32 confirmed,
32 confirmed,
33 inputsLocked,
33 inputsLocked,
34 bind,
34 bind,
35− } = useEthereumTransaction(GAS_LIMITS.TRANSFER);
35+ } = useEthereumTransaction(GAS_LIMITS.SET_PROXY);
36
36
37 const construct = useCallback(
37 const construct = useCallback(
38 address =>
38 address =>