Skip to content

Commit

Permalink
Revert daospace (#226)
Browse files Browse the repository at this point in the history
* Revert "fix stake plugin for compatibility (#218)"

This reverts commit e618173.

* Revert "add some test_functions (#216)"

This reverts commit 87859a9.

* Revert "Add WithdrawPlugin (#214)"

This reverts commit a66f0f3.

* Revert "fix StakeToSBTPlugin install event (#215)"

This reverts commit 77a968a.

* Revert "add install plugin proposal for TreasuryPlugin (#213)"

This reverts commit a98de9e.

* Revert "Fix v12 (#210)"

This reverts commit bfd8fa6.

* Revert "release v12 (#205)"

This reverts commit 94be70e.

* Revert "Fix some entry function and do some clean (#203)"

This reverts commit 884f648.

* Revert "prepare v12 release (#200)"

This reverts commit 3bae7fd.

* Revert "Refactor root cap (#198)"

This reverts commit b30fdc9.

* Revert "feat: add entry for plugin marketplace (#199)"

This reverts commit 459ce12.

* Revert "Upgrade MerkleNFTDistributor::register to v2 (#196)"

This reverts commit 40178bb.

* Revert "[daospace] Refactor daospace functions name (#195)"

This reverts commit 0dd5c68.

* Revert "Accept Offer and Accept NFT (#192)"

This reverts commit 19b7d1d.

* Revert "Fix sign flag for SignedInteger64 zero (#191)"

This reverts commit 722a298.

* Revert "fix cmp (#190)"

This reverts commit fce8707.

* Revert "Fix (#189)"

This reverts commit 64d754d.

* Revert "feat: remove sender of update_plugin (#187)"

This reverts commit cb21b0a.

* Revert "Custom proposal's quorum_votes for plugin (#184)"

This reverts commit 45eb5ca.

* Revert "[Feature] Proposal add title and introduction (#183)"

This reverts commit 4ebe51b.

* Revert "[DAOSpace] Plugin marketplace remove NFT (#186)"

This reverts commit f186ec8.

* Revert "Migrate Genesis initialize to new DAOSpace (#181)"

This reverts commit 57e859e.

* Revert "Update GasOracle module"

This reverts commit f0270c3.

* Revert "Fix prologue gas token error"

This reverts commit 3c58061.

* Revert "[Feature] Simple map (#182)"

This reverts commit daa971f.

* Revert "add some function in Compare (#180)"

This reverts commit e5a3108.

* Revert "fix to_bytes need store (#179)"

This reverts commit 31792d4.

* Revert "[Feature] Member Grant Offer (#174)"

This reverts commit 0234cfc.

* Revert "migrate TreasuryWithdrawDaoProposal to DAOSpace TreasuryPlugin (#175)"

This reverts commit f44fd34.

* Revert "refactor plugin initialize (#176)"

This reverts commit e4c7bf8.

* Revert "update old links in README (#173)"

This reverts commit cb26bbd.

* Revert "[Bugfix]Fix ERR_EXPECT_NOT_MEMBER (#172)"

This reverts commit dca2274.

* Revert "Fix acount.txn_epilogue_v2 incompatible (#168)"

This reverts commit ad81d03.

* Revert "[Feature] Add dao create test (#167)"

This reverts commit dfbf3d7.

* Revert "Remove proposal after executed or rejected (#145)"

This reverts commit 1e17512.

* Revert "EasyGas support (#92)"

This reverts commit e142883.

* Revert "Reformat code and decrease_member_sbt when unstake (#166)"

This reverts commit 25148a4.

* Revert "upgrade mpm to 1.12.5 and fix integration tests (#163)"

This reverts commit 0fb8810.

* Revert "[Feature] DAOSpace add join_member_with_root_cap  (#164)"

This reverts commit 1518644.

* Revert "[Feature] Add ASCII module and TODO: ascii DAO name  (#161)"

This reverts commit d3eb047.

* Revert "[Feature]DAOAccount Todo : add exists_upgrade_plan_cap (#160)"

This reverts commit 1fb3b8a.

* Revert "fix eventutil (#146)"

This reverts commit d2c4f5c.

* Revert "[Feature] Make StarcoinDAO inherit Dao's config (#144)"

This reverts commit 8675779.

* Revert "migrate script to entry function (#142)"

This reverts commit 971a1a2.

* Revert "[Feature]  Multi Offer (#135)"

This reverts commit 4ec8c2f.

* Revert "add upgrade plan event (#128)"

This reverts commit e82c1d3.

* Revert "merge upgrade entry v12 and v12_1 (#126)"

This reverts commit 47b38ad.

* Revert "[Feature] NFTGallery Add Errors Assert (#138)"

This reverts commit 61392b0.

* Revert "Add event util (#134)"

This reverts commit 545f191.

* Revert "#131 Add only_new_module (#132) "

This reverts commit f1363a3.

* Revert "[Feature] DAO incompatible module upgrade test (#133)"

This reverts commit 022ca1a.

* Revert "update_module_upgrade_strategy support set min_time_limit (#127)"

This reverts commit c8c9ba7.

* Revert "Daospace support plugin marketplace (#116)"

This reverts commit 6cccb73.

* Revert "check StakeList existence (#124)"

This reverts commit dee9a0b.

* Revert "[ Feature ] do deposit when proposal state is DEFEATED (#122)"

This reverts commit 3274821.

* Revert "[daospace] Remove proposal info and add get function for proposal (#121)"

This reverts commit 7b44ee7.

* Revert "[integration-test] StarcoinDAO integration-test (#112)"

This reverts commit 45f017a.

* Revert "add assertion in stake to `StakeToSBTPlugin::stake` while the lock ti… (#117)"

This reverts commit 08928d4.

* Revert "Add Script function entry (#111)"

This reverts commit 4c32fda.

* Revert "Fix DAO Pulgin Event (#118)"

This reverts commit 3cda388.

* Revert "Plugin Event (#97)"

This reverts commit 31b9a9c.

* Revert "fix SalaryGovPlugin and migrate to test (#115)"

This reverts commit 3e95aef.

* Revert "[account] Retry when creating delegate account (#110)"

This reverts commit 7a38b4b.

* Revert "Add upgrade plugin And add  StarcoinDAO (#94)"

This reverts commit 85418d7.

* Revert "able to update DAOExt (#108)"

This reverts commit fc7ac4a.

* Revert "[Feature] Public Native  name_of  function (#107)"

This reverts commit 7263b0a.

* Revert "MintProposalPlugin (#105)"

This reverts commit ff2d802.

* Revert "add daospace module upgrade test (#98)"

This reverts commit 70429e2.

* Revert "Add DAO nft image and member image (#96)"

This reverts commit 2c89bbc.

* Revert "Dao integration test and upgrade mpm (#95)"

This reverts commit 82032cc.

* Revert "add integration-test for refund_grant (#93)"

This reverts commit 52fb86d.

* Revert "signature.move add secp256k1_verify function (#86)"

This reverts commit 9ea61ce.

* Revert "check DAOAccountCap (#89)"

This reverts commit 0404a53.

* Revert "Add  DAOSpace description (#85)"

This reverts commit a981f67.

* Revert "Remove decrease SBT when unstake item (#81)"

This reverts commit d401c37.

* Revert "[signature] Fix EVMAddress padding and crop bug (#84)"

This reverts commit 41ad861.

* Revert "fix dao snapshot deserialize when some option field is empty (#82)"

This reverts commit b272a6f.

* Revert "Complete DAOSpace  (#80)"

This reverts commit 98e96e6.

* Revert "[dao] Implement DAOSpace (#32)"

This reverts commit 0d37c89.

* Revert "Update README.md (#68)"

This reverts commit d3bb99f.

* Revert "Update .gitattributes (#63)"

This reverts commit 41ed34b.

* Revert "support installing mpm from source (#56)"

This reverts commit 3f46c6c.

* Revert "[WIP] add Block state root  (#39) (#41)"

This reverts commit 67027f9.

* Revert "Add multiple types of bcs skip and test (#52)"

This reverts commit a5dc012.

* Revert "upgrade rust toolchain 1.62.0 (#51)"

This reverts commit 81c1e51.

* Revert "implement Ring module (#44)"

This reverts commit c9582a6.

* Revert "support starcoin snapshot proof and verify (#45)"

This reverts commit 63b05ec.

* Revert "add bcs function  , byte to basic type (#43)"

This reverts commit e39dfeb.

* Revert "account events (#42)"

This reverts commit bfbe32c.

* Revert "[scripts] fix dev_setup package manager detection and mpm version on ubuntu18.04 (#37)"

This reverts commit 796fd3f.

* Revert "Upgrade mpm to v1.11.11 (#36)"

This reverts commit 92fb22a.

* Revert "[Feature] Identifier nft add borrow function  (#34)"

This reverts commit 3e24ac4.

* Revert "[account] Add create_delegate_account function (#31)"

This reverts commit a225d41.

* Revert "STRATEGY_FREEZE use invalid_argument  (#29)"

This reverts commit 51828cd.

* Revert "remove zero Balance or empty NFTGallery (#28)"

This reverts commit 0303214.

* Revert "update rust 1.61 (#27)"

This reverts commit 6da0321.

* Revert "[ci] Upgrade mpm version to v1.11.9 (#26)"

This reverts commit c2475ea.

* Revert "Improve spec of several modules (#25)"

This reverts commit 8f8e5a0.

* Revert "Update README.md"

This reverts commit 8fc83b6.

* Revert "Upgrade mpm to v1.11.5-alpha and rename `spectest` to `integrationt-test` (#24)"

This reverts commit a35c3f7.

* Revert "Update stdlib spec, remove redundant spec funcs and improve coding style (#23)"

This reverts commit 9c9922d.

* Revert "[doc] Add a readme template for generate docs (#22)"

This reverts commit 2c53e4f.

* Revert "[test] Add a signature test for verify message signature from starcoin cli. (#17)"

This reverts commit f88c277.

* Revert "Add a script to generate docs and commit docs to git (#21)"

This reverts commit 60c8002.

* Revert "#13 [Feature Request] Account::deposit(address, token)  auto create a… (#14)"

This reverts commit 88061e9.

* Revert "[ci] fix spectest (#15)"

This reverts commit 0b866e1.

* Revert "config Move highlighting (#12)"

This reverts commit 01c8419.

* Revert "simplify dev setup scripts (#2)"

This reverts commit d2a2fc9.

* Revert "[ci & doc] Add more document and setup ci github action workflow. (#1)"

This reverts commit 9fd1e52.

* add Cargo.lock
  • Loading branch information
nkysg committed Mar 3, 2023
1 parent e618173 commit 0e65d78
Show file tree
Hide file tree
Showing 940 changed files with 3,894 additions and 104,765 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

# Best-effort syntax highlighting for Move: just use Rust highlighter
*.move linguist-language=Rust
7 changes: 3 additions & 4 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
pull_request:
branches:
- main
- genesis_dao

jobs:
build-and-test:
Expand All @@ -21,15 +20,15 @@ jobs:
profile: minimal
- name: setup environment
run: |
bash scripts/dev_setup.sh -b -t -y -p
bash scripts/dev_setup.sh -b -t -y -p
- name: test
run: |
source "$HOME/.profile"
mpm package test
- name: integration test
run: |
source "$HOME/.profile"
mpm integration-test --current-as-stdlib
mpm integration-test
- name: move-prover-test
run: |
source "$HOME/.profile"
Expand All @@ -40,4 +39,4 @@ jobs:
source "$HOME/.profile"
bash ./scripts/build.sh
- name: check changed files
run: bash ./scripts/changed_files.sh
run: bash ./scripts/changed_files.sh
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ packages-microsoft-prod.deb

# Move Build Output sources
build/StarcoinFramework/sources/*.move
StarcoinFramework
build/UnitTest

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
Expand Down
5 changes: 0 additions & 5 deletions .starcoin-ide/config

This file was deleted.

18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@
- [latest](./build/StarcoinFramework/docs)
- [v11](./release/v11/docs)

## Usage

Add `address` and `dependency` to the project's Move.toml

```
[addresses]
StarcoinFramework = "0x1"
[dependencies]
StarcoinFramework = {git = "https://github.com/starcoinorg/starcoin-framework.git", rev="cf1deda180af40a8b3e26c0c7b548c4c290cd7e7"}
```

* v11 git version: cf1deda180af40a8b3e26c0c7b548c4c290cd7e7

## Build and Test

Setup dev environment:
Expand Down Expand Up @@ -72,11 +58,11 @@ Contributions in the following are welcome:

1. Add New Move module to `sources` dir, such as `MyModule.move`.
2. Write Move code and add unit test in the module file.
3. Add an integration test to [integration-tests](./integration-tests) dir, such as: `test_my_module.move`.
3. Add an integration test to [integration-tests](../integration-tests) dir, such as: `test_my_module.move`.
4. Run the integration test `mpm integration-test test_my_module.move `.
5. Run script `./script/build.sh` for build and generate documents.
6. Commit the changes and create a pull request.

If you are not sure that the module belongs to starcoin-framework, please submit it to [move-funs](https://github.com/movefuns/movefuns) first.
If you are not sure that the module belongs to starcoin-framework, please submit it to [starcoin-framework-commons](https://github.com/starcoinorg/starcoin-framework-commons) first.

You can view our [Code of Conduct](./CODE_OF_CONDUCT.md).
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ compiled_package_info:
StarcoinFramework: "0x00000000000000000000000000000001"
VMReserved: "0x00000000000000000000000000000000"
module_resolution_metadata:
? address: "0x00000000000000000000000000000001"
name: ASCII
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Account
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: AccountScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: AnyMemberPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Arith
: StarcoinFramework
Expand Down Expand Up @@ -51,9 +45,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: Config
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: ConfigProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: ConsensusConfig
: StarcoinFramework
Expand All @@ -63,21 +54,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: CoreAddresses
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: DAOAccount
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: DAOExtensionPoint
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: DAOPluginMarketplace
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: DAORegistry
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: DAOSpace
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Dao
: StarcoinFramework
Expand Down Expand Up @@ -108,18 +84,9 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: Event
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: EventUtil
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: FixedPoint32
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: GasOracle
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: GasOracleProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Genesis
: StarcoinFramework
Expand All @@ -132,9 +99,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: GenesisSignerCapability
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: GrantProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Hash
: StarcoinFramework
Expand All @@ -144,18 +108,12 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: IdentifierNFTScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: InstallPluginProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: LanguageVersion
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Math
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: MemberProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: MerkleNFTDistributor
: StarcoinFramework
Expand All @@ -165,9 +123,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: MintDaoProposal
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: MintProposalPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: MintScripts
: StarcoinFramework
Expand Down Expand Up @@ -195,9 +150,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: OnChainConfigScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: OnChainStarcoinDAOConfig
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Option
: StarcoinFramework
Expand All @@ -219,12 +171,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: RewardConfig
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Ring
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SBTVoteStrategy
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SIP_2
: StarcoinFramework
Expand All @@ -249,27 +195,9 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: Signer
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SimpleMap
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SnapshotUtil
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: StakeToSBTPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: StarcoinDAO
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: StarcoinVerifier
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: StdlibUpgradeScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: StructuredHash
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Timestamp
: StarcoinFramework
Expand Down Expand Up @@ -297,27 +225,18 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: Treasury
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: TreasuryPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: TreasuryScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: TreasuryWithdrawDaoProposal
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: TypeInfo
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: U256
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: UpgradeModuleDaoProposal
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: UpgradeModulePlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: VMConfig
: StarcoinFramework
Expand All @@ -333,7 +252,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: E90F2F8FC8A933897A28C415C88680705ED69370B7BE7AE1025E9CE037CE07FC
source_digest: DC688BF938B40FD9B3D5BE2F97C93640AC08F67382227622875406514244667D
build_flags:
dev_mode: false
test_mode: false
Expand Down
Binary file modified build/StarcoinFramework/abis/Genesis/initialize.abi
Binary file not shown.
Binary file modified build/StarcoinFramework/abis/Offer/take_offer.abi
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Account.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/AccountScripts.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Authenticator.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/BCS.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Block.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/BlockReward.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Compare.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/EVMAddress.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Event.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Genesis.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/GenesisNFT.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/GenesisNFTScripts.mv
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/IdentifierNFT.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/IdentifierNFTScripts.mv
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/MerkleNFTDistributor.mv
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/ModuleUpgradeScripts.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/NFTGallery.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/NFTGalleryScripts.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Offer.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/OnChainConfigDao.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Oracle.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/PackageTxnManager.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/PriceOracle.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/PriceOracleScripts.mv
Binary file not shown.
Binary file removed build/StarcoinFramework/bytecode_modules/Ring.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/STC.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Signature.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/SignedInteger64.mv
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/Token.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/TransactionManager.mv
Binary file not shown.
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/U256.mv
Binary file not shown.
Binary file not shown.

0 comments on commit 0e65d78

Please sign in to comment.