This file contains hidden or 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
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: logging-user:list-and-logs | |
namespace: YOUR-NAMESPACE | |
rules: | |
- apiGroups: | |
- '' | |
resources: |
This file contains hidden or 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
pragma solidity >=0.6.6 <0.7.0; | |
/** | |
* @title ProposalNamesForConstructor | |
* @dev Implements a Contract to create the array to test 3_Ballot.sol deployment & runs it | |
* Based on stackexchange answer: https://ethereum.stackexchange.com/a/59172 | |
*/ | |
contract ProposalNamesForConstructor { | |
function getBytes32ArrayForInput() pure public returns (bytes32[3] memory b32Arr) { | |
b32Arr = [bytes32("candidate1"), bytes32("c2"), bytes32("c3")]; |