Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add role-based access control for bridge #1350

Merged
merged 51 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
427ac1d
add submitting role proposal feature
tkxkd0159 May 2, 2024
754496b
chore
tkxkd0159 May 2, 2024
e30a99d
feat: addVote
tkxkd0159 May 2, 2024
1693f60
feat: role proposal confirmation logic
tkxkd0159 May 2, 2024
90d7aca
add gRPC for RBAC
tkxkd0159 May 2, 2024
38d0969
fix checking trustLevel condition
tkxkd0159 May 2, 2024
f21efb6
validate role metadata during initialization
tkxkd0159 May 2, 2024
25f2722
add invariants for metadata
tkxkd0159 May 3, 2024
b6dedb9
chore
tkxkd0159 May 3, 2024
f902e67
delete expired proposal at begin blocker
tkxkd0159 May 3, 2024
2cb61cd
chore
tkxkd0159 May 3, 2024
4460ca3
add memStore and halting feature
tkxkd0159 May 3, 2024
59962c2
chore
tkxkd0159 May 3, 2024
e4727c2
remove redundant gRPC queries
tkxkd0159 May 3, 2024
cb2f2b9
fix endblock logic
tkxkd0159 May 3, 2024
79fe412
chore
tkxkd0159 May 3, 2024
200c366
add Params test
tkxkd0159 May 3, 2024
83b042e
add dummy guardian for testing
tkxkd0159 May 3, 2024
dae3f09
remove redundant invariants
tkxkd0159 May 3, 2024
41b5197
Merge `pjdp1`
tkxkd0159 May 3, 2024
72b4a68
set bridge switch at missing parts
tkxkd0159 May 3, 2024
c6ea9b8
fix typo
tkxkd0159 May 3, 2024
77959dd
add gov authority
tkxkd0159 May 3, 2024
d0d5dfb
add guardian invariant
tkxkd0159 May 3, 2024
5ceb48b
chore
tkxkd0159 May 3, 2024
428d0e6
Merge `pjdp1`
tkxkd0159 May 3, 2024
1a6e281
add single member query
tkxkd0159 May 3, 2024
e41f7ef
return error if the address has no role
tkxkd0159 May 3, 2024
cdebadd
append genesis validation
tkxkd0159 May 3, 2024
b502673
chore
tkxkd0159 May 3, 2024
1ad0782
add CLI
tkxkd0159 May 3, 2024
b4f3b6c
return all registered members if there is no query string
tkxkd0159 May 4, 2024
f1dba4f
add unit tests for RBAC
tkxkd0159 May 6, 2024
7cb0469
merge `halt` with `resume` as `set-bridge-status`
tkxkd0159 May 6, 2024
948acae
lint
tkxkd0159 May 6, 2024
72ff22f
Add CHANGELOG
tkxkd0159 May 6, 2024
1a50d25
add ERRORS docs
tkxkd0159 May 6, 2024
d8bbd64
chore
tkxkd0159 May 6, 2024
0694e1e
apply 0tech review
tkxkd0159 May 7, 2024
00aefbf
enhance bridge switch unit test
tkxkd0159 May 7, 2024
73dd078
chore
tkxkd0159 May 7, 2024
369647d
chore
tkxkd0159 May 7, 2024
3aa2233
chore
tkxkd0159 May 7, 2024
de9cfde
maintain bridge status metadata based on permanent states
tkxkd0159 May 7, 2024
4136321
change panic msg for unimplemented features
tkxkd0159 May 7, 2024
b6c2f13
check duplicate seq in genesis
tkxkd0159 May 7, 2024
0d21ba2
bridge inactive counter must always be initialization
tkxkd0159 May 7, 2024
26fe40d
bridge is always inactive if there is no guardian
tkxkd0159 May 7, 2024
bc831be
lint
tkxkd0159 May 7, 2024
c245173
start fbridge module after auth/bank
tkxkd0159 May 7, 2024
3e332f7
remove redundant invariant checking
tkxkd0159 May 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@
"Operators": "FBridgeOperators",
"Judges": "FBridgeJudges",
"Proposals": "FBridgeProposals",
"Proposal": "FBridgeProposal"
"Proposal": "FBridgeProposal",
"Votes": "FBridgeVotes",
"Vote": "FBridgeVote"
}
}
}
Expand Down
Loading
Loading