update from fork

This commit is contained in:
0xmuralik
2023-03-13 12:34:10 +05:30
300 changed files with 9681 additions and 8547 deletions
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package client
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package debug
import (
+3 -4
View File
File diff suppressed because one or more lines are too long
+89
View File
@@ -589,6 +589,7 @@ paths:
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
<<<<<<< HEAD
<<<<<<< HEAD
any, err := ptypes.MarshalAny(foo)
...
@@ -603,6 +604,15 @@ paths:
foo := &pb.Foo{}
if err := any.UnmarshalTo(foo); err != nil {
>>>>>>> v0.20.0
=======
any, err := anypb.New(foo)
if err != nil {
...
}
...
foo := &pb.Foo{}
if err := any.UnmarshalTo(foo); err != nil {
>>>>>>> v0.21.0
...
}
@@ -1765,6 +1775,7 @@ paths:
title: >-
Eip-4345 (bomb delay) switch block (nil = no fork, 0 =
already activated)
<<<<<<< HEAD
<<<<<<< HEAD
merge_fork_block:
type: string
@@ -1775,6 +1786,11 @@ paths:
gray_glacier_block:
type: string
title: >-
=======
gray_glacier_block:
type: string
title: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 =
already activated)
merge_netsplit_block:
@@ -1782,7 +1798,10 @@ paths:
title: >-
Virtual fork after The Merge to use as a network
splitter
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
description: >-
ChainConfig defines the Ethereum ChainConfig parameters
using *sdk.Int values
@@ -1792,11 +1811,15 @@ paths:
type: boolean
description: >-
Allow unprotected transactions defines if replay-protected
<<<<<<< HEAD
<<<<<<< HEAD
(i.e non EIP155
=======
(i.e non EIP155
>>>>>>> v0.20.0
=======
(i.e non EIP155
>>>>>>> v0.21.0
signed) transactions can be executed on the state machine.
title: Params defines the EVM module parameters
@@ -2559,6 +2582,7 @@ paths:
in: query
required: false
type: string
<<<<<<< HEAD
<<<<<<< HEAD
- name: trace_config.overrides.merge_fork_block
description: >-
@@ -2567,6 +2591,10 @@ paths:
=======
- name: trace_config.overrides.gray_glacier_block
description: >-
=======
- name: trace_config.overrides.gray_glacier_block
description: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated).
in: query
@@ -2574,7 +2602,10 @@ paths:
type: string
- name: trace_config.overrides.merge_netsplit_block
description: Virtual fork after The Merge to use as a network splitter.
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
in: query
required: false
type: string
@@ -3037,6 +3068,7 @@ paths:
in: query
required: false
type: string
<<<<<<< HEAD
<<<<<<< HEAD
- name: trace_config.overrides.merge_fork_block
description: >-
@@ -3045,6 +3077,10 @@ paths:
=======
- name: trace_config.overrides.gray_glacier_block
description: >-
=======
- name: trace_config.overrides.gray_glacier_block
description: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated).
in: query
@@ -3052,7 +3088,10 @@ paths:
type: string
- name: trace_config.overrides.merge_netsplit_block
description: Virtual fork after The Merge to use as a network splitter.
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
in: query
required: false
type: string
@@ -3332,6 +3371,7 @@ paths:
type: string
tags:
- Query
<<<<<<< HEAD
<<<<<<< HEAD
/cosmos/auth/v1beta1/accounts:
get:
@@ -14197,6 +14237,8 @@ paths:
- Query
=======
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
definitions:
ethermint.evm.v1.ChainConfig:
type: object
@@ -14256,6 +14298,7 @@ definitions:
title: >-
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
activated)
<<<<<<< HEAD
<<<<<<< HEAD
merge_fork_block:
type: string
@@ -14266,12 +14309,20 @@ definitions:
gray_glacier_block:
type: string
title: >-
=======
gray_glacier_block:
type: string
title: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated)
merge_netsplit_block:
type: string
title: Virtual fork after The Merge to use as a network splitter
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
description: >-
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
values
@@ -14674,6 +14725,7 @@ definitions:
title: >-
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
activated)
<<<<<<< HEAD
<<<<<<< HEAD
merge_fork_block:
type: string
@@ -14684,12 +14736,20 @@ definitions:
gray_glacier_block:
type: string
title: >-
=======
gray_glacier_block:
type: string
title: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated)
merge_netsplit_block:
type: string
title: Virtual fork after The Merge to use as a network splitter
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
description: >-
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
values
@@ -14699,11 +14759,15 @@ definitions:
type: boolean
description: >-
Allow unprotected transactions defines if replay-protected (i.e non
<<<<<<< HEAD
<<<<<<< HEAD
EIP155
=======
EIP155
>>>>>>> v0.20.0
=======
EIP155
>>>>>>> v0.21.0
signed) transactions can be executed on the state machine.
title: Params defines the EVM module parameters
@@ -14858,6 +14922,7 @@ definitions:
title: >-
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
activated)
<<<<<<< HEAD
<<<<<<< HEAD
merge_fork_block:
type: string
@@ -14868,12 +14933,20 @@ definitions:
gray_glacier_block:
type: string
title: >-
=======
gray_glacier_block:
type: string
title: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated)
merge_netsplit_block:
type: string
title: Virtual fork after The Merge to use as a network splitter
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
description: >-
ChainConfig defines the Ethereum ChainConfig parameters using
*sdk.Int values
@@ -14883,11 +14956,15 @@ definitions:
type: boolean
description: >-
Allow unprotected transactions defines if replay-protected (i.e
<<<<<<< HEAD
<<<<<<< HEAD
non EIP155
=======
non EIP155
>>>>>>> v0.20.0
=======
non EIP155
>>>>>>> v0.21.0
signed) transactions can be executed on the state machine.
title: Params defines the EVM module parameters
@@ -15028,6 +15105,7 @@ definitions:
title: >-
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
activated)
<<<<<<< HEAD
<<<<<<< HEAD
merge_fork_block:
type: string
@@ -15038,12 +15116,20 @@ definitions:
gray_glacier_block:
type: string
title: >-
=======
gray_glacier_block:
type: string
title: >-
>>>>>>> v0.21.0
EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already
activated)
merge_netsplit_block:
type: string
title: Virtual fork after The Merge to use as a network splitter
<<<<<<< HEAD
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
description: >-
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
values
@@ -15394,6 +15480,7 @@ definitions:
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
<<<<<<< HEAD
<<<<<<< HEAD
cosmos.auth.v1beta1.Params:
type: object
@@ -21357,3 +21444,5 @@ definitions:
state transition machine.
=======
>>>>>>> v0.20.0
=======
>>>>>>> v0.21.0
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package client
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package client
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package client
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package keys
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package keys
import (
+15
View File
@@ -1,3 +1,18 @@
// Copyright 2021 Evmos Foundation
// This file is part of Evmos' Ethermint library.
//
// The Ethermint library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The Ethermint library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the Ethermint library. If not, see https://github.com/evmos/ethermint/blob/main/LICENSE
package client
// DONTCOVER