Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* scaffolded ProposeDisableValidator and ApproveDisableValidator types * updated cli commands * added ProposedDisableValidator * scaffolded DisabledValidator * corrected REST endpoints * improved NotFound error processing * msg_server updated * refactoring * linted * query commands improved * tests updated * disable validator msg added * msg_server updated * scaffolded EnableValidator * tx's improved * msg_server updated * compilation errors and test errors fixed * handler tests updated * scripts fixed * ProposedDisableValidator and DisabledValidator * bugs fixed * linted * validations for validator msgs added * message validations updated * tests updated * validations added * docs updated * grant added * Grant support added * Jailing added * updated query * roles refactoring * messages enable/disable validator updated * validator message ValidateBasic updated * bug fixed * added more checks * tests updated * msg_server updated * tests updated * msg_server updated * handler_test updated * validation added * redundant code removed * added integration test * integration tests for validators added * added validator tests * fixed address convertation * cli commands updated * integration tests added * docs updated * validator cli integration tests updated
- Loading branch information
1 parent
eed7a7a
commit 58e4c3f
Showing
75 changed files
with
9,116 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright 2020 DSR Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package validator_test | ||
|
||
import ( | ||
"testing" | ||
|
||
testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" | ||
"github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/validator" | ||
"github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" | ||
) | ||
|
||
func TestValidatorDemoGRPC(t *testing.T) { | ||
suite := utils.SetupTest(t, testconstants.ChainID, false) | ||
validator.ValidatorDemo(&suite) | ||
} |
Oops, something went wrong.