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

Feature/latest updates #67

Merged
merged 144 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from 106 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
98e3e54
add prev_id to job struct
dev8723 Aug 25, 2023
8317232
send execution reward directly to executor
dev8723 Aug 25, 2023
d8a83de
fmt, clippy
vladjdk Sep 11, 2023
5ccf80c
add job queue abstraction
simke9445 Sep 11, 2023
316fc66
refactor reply
simke9445 Sep 11, 2023
e522a78
refactor evict_job
simke9445 Sep 11, 2023
ac2065c
refactor execute_job
simke9445 Sep 11, 2023
603c8f3
refactor update_job
simke9445 Sep 11, 2023
b80c957
add sync
simke9445 Sep 11, 2023
7e7c794
refactor delete_job
simke9445 Sep 11, 2023
adea96b
refactor create_job
simke9445 Sep 11, 2023
30a1e75
lint + fix
simke9445 Sep 11, 2023
71b9d0a
cleanup code
simke9445 Sep 11, 2023
cc00a21
add query_state to controller
simke9445 Sep 13, 2023
616a6a5
schema
simke9445 Sep 13, 2023
4a0c831
fmt
simke9445 Sep 13, 2023
8c7a32c
clippy
simke9445 Sep 13, 2023
9632381
add passthrough account msgs
simke9445 Sep 21, 2023
86f78d1
add funds on account instantiate
simke9445 Sep 21, 2023
3da96cc
remove cw funds from instantiate as they're already present in rpely
simke9445 Sep 21, 2023
eea9f99
fix tsts
simke9445 Sep 21, 2023
8666276
remove useless code
simke9445 Sep 22, 2023
158fafd
add account_msgs in reply
simke9445 Sep 22, 2023
4b38373
wip
dev8723 Sep 24, 2023
64e44b4
refactor
dev8723 Sep 24, 2023
da110b8
nit
dev8723 Sep 24, 2023
9f52fdb
update test
dev8723 Sep 24, 2023
6856d01
Merge branch 'feature/acc_improv' into feature/latest_updates
simke9445 Sep 25, 2023
890bc47
Revert "ok instead of error on false condition resolution"
vladjdk Sep 11, 2023
44511ad
Merge branch 'chore/execute-idempotence' into feature/latest_updates
simke9445 Sep 25, 2023
fcc204c
address comment
dev8723 Sep 25, 2023
bfa7c92
Merge branch 'feature/latest_updates' into feat/support-env-var
dev8723 Sep 26, 2023
2c3b3d3
fmt
dev8723 Sep 26, 2023
1a5ee0a
Merge branch 'feature/latest_updates' into add-prev-id-and-remove-nee…
dev8723 Sep 26, 2023
66151a7
merge latest
dev8723 Sep 26, 2023
ba82332
Merge pull request #60 from llllllluc/add-prev-id-and-remove-need-for…
simke9445 Sep 26, 2023
9862886
Merge pull request #64 from llllllluc/feat/support-env-var
simke9445 Sep 26, 2023
cf3b491
add account to job struct
dev8723 Sep 26, 2023
39f04e7
Merge pull request #69 from llllllluc/chore/add-account-to-job-struct
simke9445 Sep 28, 2023
180099d
add sub account management to account contract
dev8723 Sep 29, 2023
6498dd4
wip
dev8723 Sep 29, 2023
0824ddd
add integration test for sub account
dev8723 Sep 30, 2023
071fe7c
update test
dev8723 Sep 30, 2023
a2574f2
store addr instead of string in map for efficiency
dev8723 Oct 2, 2023
12847a0
nit rename
dev8723 Oct 2, 2023
c33a51d
Merge pull request #70 from llllllluc/feat/sub-account-management
simke9445 Oct 9, 2023
fe39c8b
update sub account data struct and start updating controller
dev8723 Oct 22, 2023
9519371
create job will always use sub account now
dev8723 Oct 23, 2023
317e3fb
rename account to main account, fix free sub account
dev8723 Oct 23, 2023
b5ceecb
use job account tracker instead of main account
dev8723 Oct 23, 2023
26bf33a
restore legacy account to master branch version
dev8723 Oct 23, 2023
b402f3b
update comment
dev8723 Oct 23, 2023
bc4f401
fix naming
dev8723 Oct 24, 2023
bbb5694
new fees logic
simke9445 Oct 29, 2023
238adc5
change maintenance fee to linear function + resolve uint overflows
simke9445 Oct 30, 2023
769e60b
add migrate code
simke9445 Oct 30, 2023
ef7caee
add job executions (switch statements)
simke9445 Nov 2, 2023
257126f
add migration code for executions
simke9445 Nov 2, 2023
6ff56af
rename v1_jobs to old_jobs + add new table
simke9445 Nov 2, 2023
6b270cb
fix tests
simke9445 Nov 2, 2023
137df3f
clippy fixes
simke9445 Nov 2, 2023
3a4e12f
rename occupied account to taken account
dev8723 Nov 3, 2023
c31d244
use single job account tracker for all users
dev8723 Nov 3, 2023
ca23c53
update refs + migration + change burn message to fee collector send
simke9445 Nov 3, 2023
3e69723
minor
simke9445 Nov 3, 2023
df945aa
new codeid for controller
simke9445 Nov 3, 2023
58ab354
Merge branch 'feature/latest_updates', remote-tracking branch 'origin…
simke9445 Nov 6, 2023
8a8ff7e
fixes
simke9445 Nov 6, 2023
d7a01fc
clippy
simke9445 Nov 6, 2023
6ac2f51
fix reply
simke9445 Nov 6, 2023
c7a165b
add last_job_id to free_accounts
simke9445 Nov 7, 2023
4d61198
remove added_reward from update_job
simke9445 Nov 7, 2023
b76a52c
add created_at_time and remove requeue_on_evict to job
simke9445 Nov 7, 2023
d5dfd04
new eviction logic + refactor
simke9445 Nov 7, 2023
9bf1e19
fix condition resolution in execute_job
simke9445 Nov 9, 2023
71fffd5
fix float point thing
simke9445 Nov 9, 2023
6dc2b50
fix v1config
simke9445 Nov 9, 2023
1f32934
last set of changes
simke9445 Nov 9, 2023
ddb1cb0
Merge pull request #75 from terra-money/feature/sub_accounts
simke9445 Nov 9, 2023
c60f42e
fix schemas
simke9445 Nov 9, 2023
168d7c6
minor fix
simke9445 Nov 9, 2023
2421ebc
update schema
simke9445 Nov 13, 2023
dd5f2eb
add WarpMsgs logic to job-account
simke9445 Nov 13, 2023
1810a7f
add warp msg to hydration + fallback
simke9445 Nov 13, 2023
52e3748
change account_msgs to WarpMsgs + refactor + migrations
simke9445 Nov 13, 2023
a0d2364
schema
simke9445 Nov 13, 2023
6b32097
fix failing test
simke9445 Nov 13, 2023
ebbe982
extract warp_msgs into packages/controller/accounts as shared util
simke9445 Nov 16, 2023
99f9f5d
add funding account contract
simke9445 Nov 16, 2023
ca91a3f
add funding_account to job
simke9445 Nov 20, 2023
32224bc
add funding accounts support to jobs - operational amount is always k…
simke9445 Nov 21, 2023
8c0a3e2
funding account logic only when createJobMsg.recurring is true
simke9445 Nov 21, 2023
edbb294
remove warp-funding-account contract
simke9445 Nov 21, 2023
f716cc8
funding account support in job-account-tracker - user can hold multip…
simke9445 Nov 22, 2023
a9c746b
fmt
simke9445 Nov 22, 2023
f1be2f7
add create funding account flow
simke9445 Nov 23, 2023
cfeb9a1
fix operational amount deduction from native funds when funding job a…
simke9445 Nov 23, 2023
0174111
remove extra transfering of native funds in reply
simke9445 Nov 23, 2023
cea1036
prevent job accounts as funding accounts
simke9445 Nov 23, 2023
c82097d
remove legacy flows from new job-account contract
simke9445 Nov 24, 2023
aaf6754
add instantiate job account tracker in controller
simke9445 Nov 24, 2023
049b61c
fix tests
simke9445 Nov 24, 2023
900d694
schema updates
simke9445 Nov 28, 2023
ad1e05f
migrations
simke9445 Nov 29, 2023
2c3d37c
remove legacy account support
simke9445 Dec 1, 2023
da4a9be
refactor reply logic to not depend on job_id from msg.id, rather use …
simke9445 Dec 1, 2023
7f74159
update deployment script
simke9445 Dec 8, 2023
77b6577
remove query_free_account query
simke9445 Dec 9, 2023
68ceb29
remove comment
simke9445 Dec 9, 2023
da18f3e
rename job-account to account everywhere
simke9445 Dec 9, 2023
3fc719b
update comments
simke9445 Dec 9, 2023
a1496cd
fmt
simke9445 Dec 9, 2023
0f8ab1d
update templates to work with executions
simke9445 Dec 11, 2023
aaeaed0
new testnet refs
simke9445 Dec 11, 2023
7941150
add account tracker addr
simke9445 Dec 11, 2023
aeb7159
migrate + more descriptive errors
simke9445 Dec 11, 2023
b746914
fix querying funding accounts response
simke9445 Dec 11, 2023
fca3f6c
minor
simke9445 Dec 11, 2023
0a63f88
refactor mutable deps to deps.storage instaed
simke9445 Dec 11, 2023
c0d06e6
refactor
simke9445 Dec 11, 2023
31afa7f
expose warp_msgs_to_cosmos_msgs in resolver
simke9445 Dec 12, 2023
d194ecd
rename account to job_account
simke9445 Dec 12, 2023
cbc5ae9
redesign accounts-tracker for better handling of accounts data and st…
simke9445 Dec 12, 2023
64d9e78
new contracts
simke9445 Dec 12, 2023
560d465
clean controller config + new deploy contracts
simke9445 Dec 13, 2023
ed68d21
update account-tracker address
simke9445 Dec 13, 2023
50aa5b6
final polish + fixes
simke9445 Dec 13, 2023
571b740
register funding account as free when created
simke9445 Dec 15, 2023
afded95
revert to execute_job submsg id as job_id not static
simke9445 Dec 18, 2023
e000eab
new testnet contracts
simke9445 Dec 18, 2023
aeb629b
add free funding account in evict_job
simke9445 Jan 9, 2024
c01733e
fix state cleanup on evict_job
simke9445 Jan 9, 2024
ae8c020
fix vulnerability with operational amount when funding account is not…
simke9445 Jan 12, 2024
b82d861
remove account_msgs usage in reply
simke9445 Jan 19, 2024
7f046ac
add account-tracker admin override
simke9445 Jan 25, 2024
86e8e2a
add config validations
simke9445 Jan 25, 2024
ae4f47c
remove repeated ops
simke9445 Jan 25, 2024
1b4a7fb
remove unused code
simke9445 Jan 25, 2024
da7bbe5
add v2 changelog.md
simke9445 Jan 26, 2024
80d8ba4
update deployment script + new testnet contracts
simke9445 Feb 2, 2024
8d62cea
Halborn audit
vladjdk Feb 8, 2024
67dcb7e
update deployment script
simke9445 Feb 20, 2024
a692a03
Merge remote-tracking branch 'origin' into feature/latest_updates
simke9445 Feb 21, 2024
2ee6d3c
merge conflict fix
simke9445 Feb 21, 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
118 changes: 61 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading